Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53149?format=api",
    "vulnerability_id": "VCID-ebme-b1mh-qygu",
    "summary": "node-fetch Inefficient Regular Expression Complexity\n[node-fetch](https://www.npmjs.com/package/node-fetch) is a light-weight module that brings window.fetch to node.js.\n\nAffected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the `isOriginPotentiallyTrustworthy()` function in `referrer.js`, when processing a URL string with alternating letters and periods, such as `'http://' + 'a.a.'.repeat(i) + 'a'`.",
    "aliases": [
        {
            "alias": "CVE-2022-2596"
        },
        {
            "alias": "GHSA-vp56-6g26-6827"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932236?format=api",
            "purl": "pkg:deb/debian/node-fetch@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-fetch@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932233?format=api",
            "purl": "pkg:deb/debian/node-fetch@2.6.1-5%2Bdeb11u1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-fetch@2.6.1-5%252Bdeb11u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932231?format=api",
            "purl": "pkg:deb/debian/node-fetch@3.3.0%2B~cs11.4.11-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-fetch@3.3.0%252B~cs11.4.11-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932234?format=api",
            "purl": "pkg:deb/debian/node-fetch@3.3.2%2B~cs11.4.11-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-fetch@3.3.2%252B~cs11.4.11-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/80810?format=api",
            "purl": "pkg:npm/node-fetch@3.2.10",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.10"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/43483?format=api",
            "purl": "pkg:npm/node-fetch@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                },
                {
                    "vulnerability": "VCID-x4yh-ez8g-6ya1"
                },
                {
                    "vulnerability": "VCID-y5g7-w6ur-8qaq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/277636?format=api",
            "purl": "pkg:npm/node-fetch@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                },
                {
                    "vulnerability": "VCID-x4yh-ez8g-6ya1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/43485?format=api",
            "purl": "pkg:npm/node-fetch@3.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324127?format=api",
            "purl": "pkg:npm/node-fetch@3.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324128?format=api",
            "purl": "pkg:npm/node-fetch@3.2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324129?format=api",
            "purl": "pkg:npm/node-fetch@3.2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324130?format=api",
            "purl": "pkg:npm/node-fetch@3.2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324131?format=api",
            "purl": "pkg:npm/node-fetch@3.2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324132?format=api",
            "purl": "pkg:npm/node-fetch@3.2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324133?format=api",
            "purl": "pkg:npm/node-fetch@3.2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324134?format=api",
            "purl": "pkg:npm/node-fetch@3.2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324135?format=api",
            "purl": "pkg:npm/node-fetch@3.2.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/324136?format=api",
            "purl": "pkg:npm/node-fetch@3.2.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ebme-b1mh-qygu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/node-fetch@3.2.9"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2596.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-2022-2596.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2596",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45057",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45253",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45195",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.4525",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45271",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45239",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45241",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45293",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45287",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45236",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45148",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45155",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45096",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.44992",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00225",
                    "scoring_system": "epss",
                    "scoring_elements": "0.45231",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-2596"
        },
        {
            "reference_url": "https://github.com/node-fetch/node-fetch",
            "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/node-fetch/node-fetch"
        },
        {
            "reference_url": "https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d",
            "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/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d"
        },
        {
            "reference_url": "https://github.com/node-fetch/node-fetch/pull/1611",
            "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/node-fetch/node-fetch/pull/1611"
        },
        {
            "reference_url": "https://github.com/node-fetch/node-fetch/releases/tag/v3.2.10",
            "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/node-fetch/node-fetch/releases/tag/v3.2.10"
        },
        {
            "reference_url": "https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7",
            "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://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2596",
            "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-2022-2596"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2113943",
            "reference_id": "2113943",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2113943"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-vp56-6g26-6827",
            "reference_id": "GHSA-vp56-6g26-6827",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-vp56-6g26-6827"
        }
    ],
    "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": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "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."
        },
        {
            "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."
        }
    ],
    "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-ebme-b1mh-qygu"
}