Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/33436?format=api",
    "vulnerability_id": "VCID-4t4e-47cq-2ffx",
    "summary": "Withdrawn: ESLint dependencies are vulnerable (ReDoS and Prototype Pollution)\n**Withdrawn**\nGitHub has withdrawn this advisory in place of GHSA-vh95-rmgr-6w4m and GHSA-6chw-6frg-f759.\nThe reason for withdrawing is that some mistakes were made during the ingestion of CVE-2020-7598\nwhich caused this advisory to be published with incorrect information.\n\nIn order to provide accurate advisory information, new advisories were created:\n\n- minimist: https://github.com/advisories/GHSA-vh95-rmgr-6w4m\n- acorn: https://github.com/advisories/GHSA-6chw-6frg-f759",
    "aliases": [
        {
            "alias": "GHSA-7fhm-mqm4-2wp7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72702?format=api",
            "purl": "pkg:npm/acorn@5.7.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/acorn@5.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72703?format=api",
            "purl": "pkg:npm/acorn@6.4.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/acorn@6.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72704?format=api",
            "purl": "pkg:npm/acorn@7.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/acorn@7.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/73239?format=api",
            "purl": "pkg:npm/minimist@1.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bhnm-47u8-zfhr"
                },
                {
                    "vulnerability": "VCID-turp-dju7-c7fx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/minimist@1.2.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/142297?format=api",
            "purl": "pkg:npm/acorn@6.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t4e-47cq-2ffx"
                },
                {
                    "vulnerability": "VCID-9eyp-2a6k-xya4"
                },
                {
                    "vulnerability": "VCID-znj9-9zem-s3c9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/acorn@6.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/142296?format=api",
            "purl": "pkg:npm/acorn@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4t4e-47cq-2ffx"
                },
                {
                    "vulnerability": "VCID-9eyp-2a6k-xya4"
                },
                {
                    "vulnerability": "VCID-znj9-9zem-s3c9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/acorn@7.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/advisories/GHSA-6chw-6frg-f759",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-6chw-6frg-f759"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-vh95-rmgr-6w4m"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7fhm-mqm4-2wp7",
            "reference_id": "GHSA-7fhm-mqm4-2wp7",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-7fhm-mqm4-2wp7"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-4t4e-47cq-2ffx"
}