Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/10520?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10520?format=api",
    "vulnerability_id": "VCID-8wh2-hgxs-rqdc",
    "summary": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in lingq.",
    "aliases": [
        {
            "alias": "GMS-2014-31"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/50791?format=api",
            "purl": "pkg:gem/lingq@0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89622?format=api",
            "purl": "pkg:gem/lingq@0.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89623?format=api",
            "purl": "pkg:gem/lingq@0.1.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.1.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89624?format=api",
            "purl": "pkg:gem/lingq@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89625?format=api",
            "purl": "pkg:gem/lingq@0.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89626?format=api",
            "purl": "pkg:gem/lingq@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/89627?format=api",
            "purl": "pkg:gem/lingq@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-8wh2-hgxs-rqdc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/lingq@0.3.1"
        }
    ],
    "references": [],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": "0.5",
    "weighted_severity": "0.0",
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8wh2-hgxs-rqdc"
}