Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/53827?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/53827?format=api", "purl": "pkg:npm/openwhisk@3.2.1", "type": "npm", "namespace": "", "name": "openwhisk", "version": "3.2.1", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "3.2.1", "latest_non_vulnerable_version": "3.2.1", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38703?format=api", "vulnerability_id": "VCID-d7bp-wvzb-8ycd", "summary": "Error clearly exposes the database credentials\nWhen access is denied, `mysql_pconnect()` raises a warning that exposes the user credentials.", "references": [ { "reference_url": "https://cwe.mitre.org/data/definitions/201.html", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cwe.mitre.org/data/definitions/201.html" }, { "reference_url": "https://github.com/apache/incubator-openwhisk-client-js/commit/0e40671e75d2ec7e88fa39ef787526d4304f2aaa", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/apache/incubator-openwhisk-client-js/commit/0e40671e75d2ec7e88fa39ef787526d4304f2aaa" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/53827?format=api", "purl": "pkg:npm/openwhisk@3.2.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/openwhisk@3.2.1" } ], "aliases": [ "CWE-201" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-d7bp-wvzb-8ycd" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/openwhisk@3.2.1" }