Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/6508?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/6508?format=api", "purl": "pkg:npm/libnotify@1.0.4", "type": "npm", "namespace": "", "name": "libnotify", "version": "1.0.4", "qualifiers": {}, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": null, "latest_non_vulnerable_version": null, "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30480?format=api", "vulnerability_id": "VCID-tjc9-6eex-4fh7", "summary": "Potential Command Injection\nUntrusted input passed in the call to libnotify.notify could result in execution of shell commands. Callers may be unaware of this.\n\n### Example\n```\nvar libnotify = require('libnotify')\nlibnotify.notify('UNTRUSTED INPUT', { title: \\\"\\\" }, function () {\n console.log(arguments);\n})\n```\n\nSpecial thanks to Neal Poole for submitting the pull request to fix this issue.", "references": [ { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/20.json", "reference_id": "20", "reference_type": "", "scores": [ { "value": "5.3", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/20.json" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/6508?format=api", "purl": "pkg:npm/libnotify@1.0.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/libnotify@1.0.4" } ], "aliases": [ "CVE-2013-7381" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-tjc9-6eex-4fh7" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37542?format=api", "vulnerability_id": "VCID-uwx6-kq7y-dfa4", "summary": "Potential Command Injection\nUntrusted input passed in the call to libnotify.notify could result in execution of shell commands. Callers may be unaware of this.", "references": [], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/6508?format=api", "purl": "pkg:npm/libnotify@1.0.4", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/libnotify@1.0.4" } ], "aliases": [ "GMS-2013-11" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uwx6-kq7y-dfa4" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/libnotify@1.0.4" }