Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/52382?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/52382?format=api", "purl": "pkg:npm/bleach@0.0.0-alpha", "type": "npm", "namespace": "", "name": "bleach", "version": "0.0.0-alpha", "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/30520?format=api", "vulnerability_id": "VCID-rups-mksz-vqbz", "summary": "Regular Expression Denial of Service\nbleach 3.0 and earlier is vulnerable to regular expression denial of service (ReDoS) when certain types of input is passed into the sanitize function.\n\n\"The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time.\" [1]", "references": [ { "reference_url": "https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS", "reference_id": "", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS" }, { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/47.json", "reference_id": "47", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/47.json" } ], "fixed_packages": [], "aliases": [ "CVE-2014-8881" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rups-mksz-vqbz" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bleach@0.0.0-alpha" }