Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/205328?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/205328?format=api", "purl": "pkg:npm/mqtt@0.2.5", "type": "npm", "namespace": "", "name": "mqtt", "version": "0.2.5", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.0.0-pre.1", "latest_non_vulnerable_version": "2.15.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/30553?format=api", "vulnerability_id": "VCID-suk6-p77f-dbes", "summary": "Denial of Service\nSpecifically crafted MQTT packets can crash the application, making a DoS attack feasible with very little bandwidth.", "references": [ { "reference_url": "https://github.com/mqttjs/MQTT.js", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/mqttjs/MQTT.js" }, { "reference_url": "https://github.com/mqttjs/MQTT.js/blob/388a084d7803934b18b43c1146c817deaa1396b1/lib/parse.js#L230", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "" }, { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/mqttjs/MQTT.js/blob/388a084d7803934b18b43c1146c817deaa1396b1/lib/parse.js#L230" }, { "reference_url": "https://snyk.io/vuln/npm:mqtt:20160817", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://snyk.io/vuln/npm:mqtt:20160817" }, { "reference_url": "https://www.npmjs.com/advisories/140", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://www.npmjs.com/advisories/140" }, { "reference_url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/140.json", "reference_id": "140", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "" } ], "url": "https://github.com/nodejs/security-wg/blob/main/vuln/npm/140.json" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1000242", "reference_id": "CVE-2016-1000242", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1000242" }, { "reference_url": "https://github.com/advisories/GHSA-hg78-c92r-hvwr", "reference_id": "GHSA-hg78-c92r-hvwr", "reference_type": "", "scores": [ { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-hg78-c92r-hvwr" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/205348?format=api", "purl": "pkg:npm/mqtt@1.0.0-pre.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mqtt@1.0.0-pre.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/6604?format=api", "purl": "pkg:npm/mqtt@1.0.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mqtt@1.0.0" } ], "aliases": [ "CVE-2016-1000242", "GHSA-hg78-c92r-hvwr", "GMS-2020-749" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-suk6-p77f-dbes" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38198?format=api", "vulnerability_id": "VCID-wr5f-5qmn-kfd6", "summary": "Denial of Service\nSpecifically crafted MQTT packets can crash the application, making a DoS attack feasible with very little bandwidth.", "references": [ { "reference_url": "https://github.com/mqttjs/MQTT.js/blob/388a084d7803934b18b43c1146c817deaa1396b1/lib/parse.js#L230", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/mqttjs/MQTT.js/blob/388a084d7803934b18b43c1146c817deaa1396b1/lib/parse.js#L230" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/205348?format=api", "purl": "pkg:npm/mqtt@1.0.0-pre.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mqtt@1.0.0-pre.1" }, { "url": "http://public2.vulnerablecode.io/api/packages/6604?format=api", "purl": "pkg:npm/mqtt@1.0.0", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mqtt@1.0.0" } ], "aliases": [ "GMS-2016-63" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wr5f-5qmn-kfd6" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/mqtt@0.2.5" }