Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/6659?format=api",
    "purl": "pkg:npm/stattic@0.3.0",
    "type": "npm",
    "namespace": "",
    "name": "stattic",
    "version": "0.3.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30598?format=api",
            "vulnerability_id": "VCID-eq2j-gan7-d3b1",
            "summary": "Path Traversal\nstattic inproper path validation leads to path traversal and allows to read arbitrary files with any extension(s)",
            "references": [
                {
                    "reference_url": "https://hackerone.com/reports/319003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://hackerone.com/reports/319003"
                },
                {
                    "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/386.json",
                    "reference_id": "386",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.6",
                            "scoring_system": "cvssv3",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/386.json"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3734",
                    "reference_id": "CVE-2018-3734",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-3734"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/6659?format=api",
                    "purl": "pkg:npm/stattic@0.3.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/stattic@0.3.0"
                }
            ],
            "aliases": [
                "CVE-2018-3734"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-eq2j-gan7-d3b1"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/stattic@0.3.0"
}