Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/67793?format=api",
    "purl": "pkg:npm/%40adobe/css-tools@4.3.1",
    "type": "npm",
    "namespace": "@adobe",
    "name": "css-tools",
    "version": "4.3.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.3.2",
    "latest_non_vulnerable_version": "4.3.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46426?format=api",
            "vulnerability_id": "VCID-1f72-dxhg-wuhn",
            "summary": "@adobe/css-tools Regular Expression Denial of Service (ReDOS) while Parsing CSS\n### Impact\n@adobe/css-tools version 4.3.0 and earlier are affected by an Improper Input Validation vulnerability that could result in a denial of service while attempting to parse CSS.\n\n### Patches\nThe issue has been resolved in 4.3.1.\n\n### Workarounds\nNone\n\n### References\nN/A",
            "references": [
                {
                    "reference_url": "https://github.com/adobe/css-tools/commit/2b09a25d1dbdbb16fe80065e4c9beb5623ee5793",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adobe/css-tools/commit/2b09a25d1dbdbb16fe80065e4c9beb5623ee5793"
                },
                {
                    "reference_url": "https://github.com/adobe/css-tools/security/advisories/GHSA-hpx4-r86g-5jrg",
                    "reference_id": "GHSA-hpx4-r86g-5jrg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adobe/css-tools/security/advisories/GHSA-hpx4-r86g-5jrg"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hpx4-r86g-5jrg",
                    "reference_id": "GHSA-hpx4-r86g-5jrg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hpx4-r86g-5jrg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/67793?format=api",
                    "purl": "pkg:npm/%40adobe/css-tools@4.3.1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adobe/css-tools@4.3.1"
                }
            ],
            "aliases": [
                "CVE-2023-26364",
                "GHSA-hpx4-r86g-5jrg"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1f72-dxhg-wuhn"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adobe/css-tools@4.3.1"
}