Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/268665?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/268665?format=api", "purl": "pkg:npm/apostrophe@2.96.2", "type": "npm", "namespace": "", "name": "apostrophe", "version": "2.96.2", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "2.97.1", "latest_non_vulnerable_version": "4.29.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53191?format=api", "vulnerability_id": "VCID-5v79-remg-7ub4", "summary": "Denial of Service in apostrophe\nVersions of `apostrophe` prior to 2.97.1 are vulnerable to Denial of Service. The `apostrophe-jobs` module sets a callback for incoming jobs and doesn't clear it regardless of its status. This causes the server to accumulate callbacks, allowing an attacker to start a large number of jobs and exhaust system memory.\n\n\n## Recommendation\n\nUpgrade to version 2.97.1 or later.", "references": [ { "reference_url": "https://www.npmjs.com/advisories/1183", "reference_id": "", "reference_type": "", "scores": [ { "value": "LOW", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/1183" }, { "reference_url": "https://github.com/advisories/GHSA-pv6r-vchh-cxg9", "reference_id": "GHSA-pv6r-vchh-cxg9", "reference_type": "", "scores": [ { "value": "LOW", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-pv6r-vchh-cxg9" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/78225?format=api", "purl": "pkg:npm/apostrophe@2.97.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/apostrophe@2.97.1" } ], "aliases": [ "GHSA-pv6r-vchh-cxg9", "GMS-2020-705" ], "risk_score": 1.4, "exploitability": "0.5", "weighted_severity": "2.7", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5v79-remg-7ub4" } ], "fixing_vulnerabilities": [], "risk_score": "1.4", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/apostrophe@2.96.2" }