Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/61350?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/61350?format=api", "purl": "pkg:npm/ghost@4.39.0", "type": "npm", "namespace": "", "name": "ghost", "version": "4.39.0", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "4.39.1", "latest_non_vulnerable_version": "6.19.3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42900?format=api", "vulnerability_id": "VCID-z7q9-drk7-2kdw", "summary": "Unrestricted Upload of File with Dangerous Type\nAn arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file.", "references": [ { "reference_url": "https://youtu.be/FCqWEvir2wE", "reference_id": "", "reference_type": "", "scores": [], "url": "https://youtu.be/FCqWEvir2wE" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27139", "reference_id": "CVE-2022-27139", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-27139" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/61351?format=api", "purl": "pkg:npm/ghost@4.39.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@4.39.1" } ], "aliases": [ "CVE-2022-27139" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z7q9-drk7-2kdw" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ghost@4.39.0" }