Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67391?format=api",
    "purl": "pkg:npm/synchrony@2.0.1",
    "type": "npm",
    "namespace": "",
    "name": "synchrony",
    "version": "2.0.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46227?format=api",
            "vulnerability_id": "VCID-5582-4xj7-5kfx",
            "summary": "Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')\nSynchrony deobfuscator is a javascript cleaner & deobfuscator. A `__proto__` pollution vulnerability exists in versions before v2.4.4. Successful exploitation could lead to arbitrary code execution. A `__proto__` pollution vulnerability exists in the `LiteralMap` transformer allowing crafted input to modify properties in the Object prototype. A fix has been released in `deobfuscator@2.4.4`. Users are advised to upgrade. Users unable to upgrade should launch node with the [--disable-proto=delete][disable-proto] or [--disable-proto=throw][disable-proto] flags",
            "references": [
                {
                    "reference_url": "https://github.com/relative/synchrony",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/relative/synchrony"
                },
                {
                    "reference_url": "https://github.com/relative/synchrony/commit/b583126be94c4db7c5a478f1c5204bfb4162cf40",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/relative/synchrony/commit/b583126be94c4db7c5a478f1c5204bfb4162cf40"
                },
                {
                    "reference_url": "https://github.com/relative/synchrony/security/advisories/src/transformers/literalmap.ts",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/relative/synchrony/security/advisories/src/transformers/literalmap.ts"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45811",
                    "reference_id": "CVE-2023-45811",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-45811"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-jg82-xh3w-rhxx",
                    "reference_id": "GHSA-jg82-xh3w-rhxx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-jg82-xh3w-rhxx"
                },
                {
                    "reference_url": "https://github.com/relative/synchrony/security/advisories/GHSA-jg82-xh3w-rhxx",
                    "reference_id": "GHSA-jg82-xh3w-rhxx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/relative/synchrony/security/advisories/GHSA-jg82-xh3w-rhxx"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2023-45811",
                "GHSA-jg82-xh3w-rhxx"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5582-4xj7-5kfx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/synchrony@2.0.1"
}