Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/22617?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/22617?format=api", "purl": "pkg:npm/minimatch@3.0.1", "type": "npm", "namespace": "", "name": "minimatch", "version": "3.0.1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "3.1.4", "latest_non_vulnerable_version": "10.2.3", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/7427?format=api", "vulnerability_id": "VCID-54ed-xy97-e7cq", "summary": "Regular Expression Denial of Service\nThe primary function, `minimatch(path, pattern)` is vulnerable to ReDoS in the `pattern` parameter. This is because of the regular expression on line of minimatch.js: `/((?:\\\\{2})*)(\\\\?)\\|/g,`. The problematic portion of the regex is `((?:\\\\{2})*)` which matches against `//`.", "references": [], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/22618?format=api", "purl": "pkg:npm/minimatch@3.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-hzsn-68be-dkej" }, { "vulnerability": "VCID-kq3k-xr3z-z3c4" }, { "vulnerability": "VCID-q6uh-59pj-rfdp" }, { "vulnerability": "VCID-v72h-ew1u-xfcz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/minimatch@3.0.2" } ], "aliases": [ "GMS-2016-36" ], "risk_score": null, "exploitability": "0.5", "weighted_severity": "0.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-54ed-xy97-e7cq" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9107?format=api", "vulnerability_id": "VCID-u4v3-87qk-tqb1", "summary": "Improper Input Validation\nThe primary function, `minimatch(path, pattern)` in Minimatch is vulnerable to ReDoS in the `pattern` parameter.", "references": [ { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10540", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.63089", "published_at": "2026-05-14T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.6297", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62977", "published_at": "2026-04-24T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62956", "published_at": "2026-04-21T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62991", "published_at": "2026-04-29T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62946", "published_at": "2026-05-05T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62993", "published_at": "2026-05-07T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.63046", "published_at": "2026-05-09T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.63006", "published_at": "2026-05-11T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.63033", "published_at": "2026-05-12T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62826", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62884", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62914", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62878", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62929", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62945", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62963", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00435", "scoring_system": "epss", "scoring_elements": "0.62951", "published_at": "2026-04-12T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-10540" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10540", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10540" }, { "reference_url": "https://github.com/advisories/GHSA-hxm2-r34f-qmc5", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "HIGH", "scoring_system": "cvssv3.1_qr", "scoring_elements": "" }, { "value": "HIGH", "scoring_system": "generic_textual", "scoring_elements": "" } ], "url": "https://github.com/advisories/GHSA-hxm2-r34f-qmc5" }, { "reference_url": "https://nodesecurity.io/advisories/118", "reference_id": "", "reference_type": "", "scores": [], "url": "https://nodesecurity.io/advisories/118" }, { "reference_url": "https://www.npmjs.com/advisories/118", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/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/118" }, { "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:*", "reference_id": "cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:*", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:*" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10540", "reference_id": "CVE-2016-10540", "reference_type": "", "scores": [ { "value": "5.0", "scoring_system": "cvssv2", "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P" }, { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" }, { "value": "7.5", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.0/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-10540" }, { "reference_url": "https://usn.ubuntu.com/USN-4783-1/", "reference_id": "USN-USN-4783-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/USN-4783-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/22618?format=api", "purl": "pkg:npm/minimatch@3.0.2", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-hzsn-68be-dkej" }, { "vulnerability": "VCID-kq3k-xr3z-z3c4" }, { "vulnerability": "VCID-q6uh-59pj-rfdp" }, { "vulnerability": "VCID-v72h-ew1u-xfcz" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/minimatch@3.0.2" } ], "aliases": [ "CVE-2016-10540", "GHSA-hxm2-r34f-qmc5" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-u4v3-87qk-tqb1" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/minimatch@3.0.1" }