Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/24833?format=api",
    "vulnerability_id": "VCID-366w-k4rs-v7d3",
    "summary": "path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards\n### Impact\n\nWhen using multiple wildcards, combined with at least one parameter, a regular expression can be generated that is vulnerable to ReDoS. This backtracking vulnerability requires the second wildcard to be somewhere other than the end of the path.\n\n**Unsafe examples:**\n\n```\n/*foo-*bar-:baz\n/*a-:b-*c-:d\n/x/*a-:b/*c/y\n```\n\n**Safe examples:**\n\n```\n/*foo-:bar\n/*foo-:bar-*baz\n```\n\n### Patches\n\nUpgrade to version `8.4.0`.\n\n### Workarounds\n\nIf developers are using multiple wildcard parameters, they can check the regex output with a tool such as https://makenowjust-labs.github.io/recheck/playground/ to confirm whether a path is vulnerable.",
    "aliases": [
        {
            "alias": "CVE-2026-4923"
        },
        {
            "alias": "GHSA-27v5-c462-wpq7"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932509?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@8.4.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932505?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@8.4.1-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1103678?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@8.4.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1103009?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@8.4.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@8.4.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/66065?format=api",
            "purl": "pkg:npm/path-to-regexp@8.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.4.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932503?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.2.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                },
                {
                    "vulnerability": "VCID-r95c-k4nq-jbd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994728?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.2.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                },
                {
                    "vulnerability": "VCID-r95c-k4nq-jbd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932504?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.2.1-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                },
                {
                    "vulnerability": "VCID-r95c-k4nq-jbd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.1-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994729?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.2.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                },
                {
                    "vulnerability": "VCID-r95c-k4nq-jbd1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.2.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994730?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.3.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.3.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932506?format=api",
            "purl": "pkg:deb/debian/node-path-to-regexp@6.3.0-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-path-to-regexp@6.3.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48565?format=api",
            "purl": "pkg:npm/path-to-regexp@8.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1082496?format=api",
            "purl": "pkg:npm/path-to-regexp@8.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1082497?format=api",
            "purl": "pkg:npm/path-to-regexp@8.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1082498?format=api",
            "purl": "pkg:npm/path-to-regexp@8.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vjw-mm86-k7gn"
                },
                {
                    "vulnerability": "VCID-366w-k4rs-v7d3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/path-to-regexp@8.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4923.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-4923.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-4923",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16295",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.163",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16406",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16368",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16348",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16408",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16468",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16506",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16524",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16464",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16379",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16579",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00052",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16517",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17845",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17721",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17575",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17668",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17769",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.1773",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00057",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17767",
                    "published_at": "2026-05-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-4923"
        },
        {
            "reference_url": "https://cna.openjsf.org/security-advisories.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-03-27T13:46:47Z/"
                }
            ],
            "url": "https://cna.openjsf.org/security-advisories.html"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4923",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-4923"
        },
        {
            "reference_url": "https://github.com/pillarjs/path-to-regexp",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pillarjs/path-to-regexp"
        },
        {
            "reference_url": "https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-27v5-c462-wpq7",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pillarjs/path-to-regexp/security/advisories/GHSA-27v5-c462-wpq7"
        },
        {
            "reference_url": "https://makenowjust-labs.github.io/recheck/playground",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://makenowjust-labs.github.io/recheck/playground"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4923",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4923"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132020",
            "reference_id": "1132020",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132020"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2451860",
            "reference_id": "2451860",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2451860"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-27v5-c462-wpq7",
            "reference_id": "GHSA-27v5-c462-wpq7",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-27v5-c462-wpq7"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1333,
            "name": "Inefficient Regular Expression Complexity",
            "description": "The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-366w-k4rs-v7d3"
}