Lookup for vulnerable packages by Package URL.

GET /api/packages/932416?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/932416?format=api",
    "purl": "pkg:deb/debian/node-minimatch@3.0.3-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "node-minimatch",
    "version": "3.0.3-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.0.4+~3.0.3-1+deb11u1",
    "latest_non_vulnerable_version": "9.0.7-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "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/932416?format=api",
                    "purl": "pkg:deb/debian/node-minimatch@3.0.3-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@3.0.3-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932417?format=api",
                    "purl": "pkg:deb/debian/node-minimatch@3.0.4%2B~3.0.3-1%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hzsn-68be-dkej"
                        },
                        {
                            "vulnerability": "VCID-kq3k-xr3z-z3c4"
                        },
                        {
                            "vulnerability": "VCID-q6uh-59pj-rfdp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@3.0.4%252B~3.0.3-1%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932415?format=api",
                    "purl": "pkg:deb/debian/node-minimatch@5.1.1%2B~5.1.2-1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hzsn-68be-dkej"
                        },
                        {
                            "vulnerability": "VCID-kq3k-xr3z-z3c4"
                        },
                        {
                            "vulnerability": "VCID-q6uh-59pj-rfdp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@5.1.1%252B~5.1.2-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932418?format=api",
                    "purl": "pkg:deb/debian/node-minimatch@9.0.3-6?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hzsn-68be-dkej"
                        },
                        {
                            "vulnerability": "VCID-kq3k-xr3z-z3c4"
                        },
                        {
                            "vulnerability": "VCID-q6uh-59pj-rfdp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@9.0.3-6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1041980?format=api",
                    "purl": "pkg:deb/debian/node-minimatch@9.0.7-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@9.0.7-1%3Fdistro=trixie"
                }
            ],
            "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"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-minimatch@3.0.3-1%3Fdistro=trixie"
}