Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6650?format=api",
    "purl": "pkg:npm/localhost-now@1.0.2",
    "type": "npm",
    "namespace": "",
    "name": "localhost-now",
    "version": "1.0.2",
    "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/41072?format=api",
            "vulnerability_id": "VCID-ggqu-n1kv-tbfp",
            "summary": "Relative Path Traversal in localhost-now.",
            "references": [
                {
                    "reference_url": "https://github.com/DCKT/localhost-now/blob/master/lib/app.js#L17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/DCKT/localhost-now/blob/master/lib/app.js#L17"
                },
                {
                    "reference_url": "https://hackerone.com/reports/329837",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hackerone.com/reports/329837"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/655",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/655"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/655",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.npmjs.com/advisories/655"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-73cw-jxmm-qpgh",
                    "reference_id": "GHSA-73cw-jxmm-qpgh",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-73cw-jxmm-qpgh"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "GHSA-73cw-jxmm-qpgh",
                "GMS-2019-132"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ggqu-n1kv-tbfp"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40829?format=api",
            "vulnerability_id": "VCID-q7cw-gc4p-xkg9",
            "summary": "Path Traversal\nA path traversal vulnerability in localhost-now allows the attackers to read content of arbitrary files on the remote server.",
            "references": [
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5416",
                    "reference_id": "CVE-2019-5416",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5416"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2019-5416"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q7cw-gc4p-xkg9"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30591?format=api",
            "vulnerability_id": "VCID-w7cb-cgyz-a3gn",
            "summary": "localhost-now Path Traversal allows to read content of arbitrary file",
            "references": [
                {
                    "reference_url": "https://github.com/DCKT/localhost-now/commit/30b004c7f145d677df8800a106c2edc982313995#diff-b9cfc7f2cdf78a7f4b91a753d10865a2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/DCKT/localhost-now/commit/30b004c7f145d677df8800a106c2edc982313995#diff-b9cfc7f2cdf78a7f4b91a753d10865a2"
                },
                {
                    "reference_url": "https://hackerone.com/reports/312889",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/312889"
                },
                {
                    "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/377.json",
                    "reference_id": "377",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/377.json"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3729",
                    "reference_id": "CVE-2018-3729",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3729"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6650?format=api",
                    "purl": "pkg:npm/localhost-now@1.0.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ggqu-n1kv-tbfp"
                        },
                        {
                            "vulnerability": "VCID-q7cw-gc4p-xkg9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/localhost-now@1.0.2"
                }
            ],
            "aliases": [
                "CVE-2018-3729"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w7cb-cgyz-a3gn"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39435?format=api",
            "vulnerability_id": "VCID-xkv1-ufx9-xfgc",
            "summary": "Path Traversal\nlocalhost-now suffers from a path traversal vulnerability. It allows reading the content of arbitrary files on the remote server.",
            "references": [
                {
                    "reference_url": "https://github.com/DCKT/localhost-now/commit/30b004c7f145d677df8800a106c2edc982313995",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/DCKT/localhost-now/commit/30b004c7f145d677df8800a106c2edc982313995"
                },
                {
                    "reference_url": "https://hackerone.com/reports/312889",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hackerone.com/reports/312889"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6650?format=api",
                    "purl": "pkg:npm/localhost-now@1.0.2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ggqu-n1kv-tbfp"
                        },
                        {
                            "vulnerability": "VCID-q7cw-gc4p-xkg9"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/localhost-now@1.0.2"
                }
            ],
            "aliases": [
                "GMS-2018-20"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xkv1-ufx9-xfgc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/localhost-now@1.0.2"
}