Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42772?format=api",
    "vulnerability_id": "VCID-766z-4p3n-u7ge",
    "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\nSimple-Plist v1.3.0 was discovered to contain a prototype pollution vulnerability via `.parse()`.",
    "aliases": [
        {
            "alias": "CVE-2022-26260"
        },
        {
            "alias": "GHSA-gff7-g5r8-mg8m"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/61076?format=api",
            "purl": "pkg:npm/simple-plist@1.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-766z-4p3n-u7ge"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/simple-plist@1.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/wollardj/simple-plist/issues/60",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/wollardj/simple-plist/issues/60"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26260",
            "reference_id": "CVE-2022-26260",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-26260"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-gff7-g5r8-mg8m",
            "reference_id": "GHSA-gff7-g5r8-mg8m",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-gff7-g5r8-mg8m"
        }
    ],
    "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": 1321,
            "name": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')",
            "description": "The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype."
        },
        {
            "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": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-766z-4p3n-u7ge"
}