Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/30585?format=api
{ "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30585?format=api", "vulnerability_id": "VCID-g41m-w8dw-rfdq", "summary": "Path Traversal\nresolve-path relative path resolving suffers from a lack of file path sanitization for windows based paths", "aliases": [ { "alias": "CVE-2018-3732" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/6643?format=api", "purl": "pkg:npm/resolve-path@1.4.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/resolve-path@1.4.0" } ], "affected_packages": [], "references": [ { "reference_url": "https://github.com/pillarjs/resolve-path/commit/fe5b8052cafd35fcdafe9210e100e9050b37d2a0", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.6", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/pillarjs/resolve-path/commit/fe5b8052cafd35fcdafe9210e100e9050b37d2a0" }, { "reference_url": "https://hackerone.com/reports/315760", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.6", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://hackerone.com/reports/315760" }, { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/376.json", "reference_id": "376", "reference_type": "", "scores": [ { "value": "8.6", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/376.json" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 22, "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')", "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." } ], "exploits": [], "severity_range_score": "8.6 - 8.6", "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g41m-w8dw-rfdq" }