Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/57254?format=api",
    "purl": "pkg:npm/react-dev-utils@1.0.4",
    "type": "npm",
    "namespace": "",
    "name": "react-dev-utils",
    "version": "1.0.4",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.0.4",
    "latest_non_vulnerable_version": "5.0.2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40563?format=api",
            "vulnerability_id": "VCID-r83h-uj95-zugy",
            "summary": "Cross-Site Request Forgery (CSRF)\nreact-dev-utils on Windows allows developers to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6342",
                    "reference_id": "CVE-2018-6342",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6342"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57254?format=api",
                    "purl": "pkg:npm/react-dev-utils@1.0.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@1.0.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57255?format=api",
                    "purl": "pkg:npm/react-dev-utils@2.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@2.0.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57256?format=api",
                    "purl": "pkg:npm/react-dev-utils@3.1.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@3.1.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57257?format=api",
                    "purl": "pkg:npm/react-dev-utils@4.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@4.2.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/57258?format=api",
                    "purl": "pkg:npm/react-dev-utils@5.0.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@5.0.2"
                }
            ],
            "aliases": [
                "CVE-2018-6342"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r83h-uj95-zugy"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/react-dev-utils@1.0.4"
}