Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/11427?format=api",
    "vulnerability_id": "VCID-dmh1-fut8-2ygz",
    "summary": "Embedded malware in ua-parser-js\nThe npm package `ua-parser-js` had three versions published with malicious code. Users of affected versions (0.7.29, 0.8.0, 1.0.0) should upgrade as soon as possible and check their systems for suspicious activity. See [this issue](https://github.com/faisalman/ua-parser-js/issues/536) for details as they unfold.\n\nAny computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.",
    "aliases": [
        {
            "alias": "CVE-2021-4229"
        },
        {
            "alias": "GHSA-pjwm-rvh2-c87w"
        },
        {
            "alias": "GMS-2021-1"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932697?format=api",
            "purl": "pkg:deb/debian/node-ua-parser-js@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-ua-parser-js@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932698?format=api",
            "purl": "pkg:deb/debian/node-ua-parser-js@0.7.24%2Bds-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jzj3-ddrr-u7hd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-ua-parser-js@0.7.24%252Bds-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932696?format=api",
            "purl": "pkg:deb/debian/node-ua-parser-js@0.8.1%2Bds%2B~0.7.36-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-ua-parser-js@0.8.1%252Bds%252B~0.7.36-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41075?format=api",
            "purl": "pkg:npm/ua-parser-js@0.7.30",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jzj3-ddrr-u7hd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.7.30"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41076?format=api",
            "purl": "pkg:npm/ua-parser-js@0.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jzj3-ddrr-u7hd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.8.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41077?format=api",
            "purl": "pkg:npm/ua-parser-js@1.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jzj3-ddrr-u7hd"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@1.0.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41072?format=api",
            "purl": "pkg:npm/ua-parser-js@0.7.29",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dmh1-fut8-2ygz"
                },
                {
                    "vulnerability": "VCID-sy9w-7ehk-m3he"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.7.29"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41073?format=api",
            "purl": "pkg:npm/ua-parser-js@0.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dmh1-fut8-2ygz"
                },
                {
                    "vulnerability": "VCID-jzj3-ddrr-u7hd"
                },
                {
                    "vulnerability": "VCID-sy9w-7ehk-m3he"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@0.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/41074?format=api",
            "purl": "pkg:npm/ua-parser-js@1.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-dmh1-fut8-2ygz"
                },
                {
                    "vulnerability": "VCID-sy9w-7ehk-m3he"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ua-parser-js@1.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-4229",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75085",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75194",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75165",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75156",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75152",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75063",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75039",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75073",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75107",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75149",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7511",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75031",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75034",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7512",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75113",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75075",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00863",
                    "scoring_system": "epss",
                    "scoring_elements": "0.75086",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-4229"
        },
        {
            "reference_url": "https://github.com/faisalman/ua-parser-js",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/faisalman/ua-parser-js"
        },
        {
            "reference_url": "https://github.com/faisalman/ua-parser-js/issues/536",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T17:14:48Z/"
                }
            ],
            "url": "https://github.com/faisalman/ua-parser-js/issues/536"
        },
        {
            "reference_url": "https://github.com/faisalman/ua-parser-js/issues/536#issuecomment-949772496",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/faisalman/ua-parser-js/issues/536#issuecomment-949772496"
        },
        {
            "reference_url": "https://us-cert.cisa.gov/ncas/current-activity/2021/10/22/malware-discovered-popular-npm-package-ua-parser-js",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://us-cert.cisa.gov/ncas/current-activity/2021/10/22/malware-discovered-popular-npm-package-ua-parser-js"
        },
        {
            "reference_url": "https://www.npmjs.com/package/ua-parser-js",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.npmjs.com/package/ua-parser-js"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4229",
            "reference_id": "CVE-2021-4229",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4229"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-pjwm-rvh2-c87w",
            "reference_id": "GHSA-pjwm-rvh2-c87w",
            "reference_type": "",
            "scores": [
                {
                    "value": "5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-04-14T17:14:48Z/"
                }
            ],
            "url": "https://github.com/advisories/GHSA-pjwm-rvh2-c87w"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 829,
            "name": "Inclusion of Functionality from Untrusted Control Sphere",
            "description": "The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere."
        },
        {
            "cwe_id": 912,
            "name": "Hidden Functionality",
            "description": "The product contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the product's users or administrators."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dmh1-fut8-2ygz"
}