Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47602?format=api",
    "vulnerability_id": "VCID-v5h1-gpt1-97bj",
    "summary": "Regular expression denial of service in npm-user-validate\nThis affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.",
    "aliases": [
        {
            "alias": "CVE-2020-7754"
        },
        {
            "alias": "GHSA-pw54-mh39-w3hc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/72641?format=api",
            "purl": "pkg:npm/npm-user-validate@1.0.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/npm-user-validate@1.0.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101248?format=api",
            "purl": "pkg:rpm/redhat/rh-nodejs10-nodejs@10.23.1-2?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4b6t-hfzu-7uf5"
                },
                {
                    "vulnerability": "VCID-7tyw-ppyt-zqgr"
                },
                {
                    "vulnerability": "VCID-cqs6-2ryh-43gj"
                },
                {
                    "vulnerability": "VCID-e2wc-na6c-c3cr"
                },
                {
                    "vulnerability": "VCID-fu8u-pxaa-43be"
                },
                {
                    "vulnerability": "VCID-jqtk-shbr-nkaw"
                },
                {
                    "vulnerability": "VCID-kh5k-ynnf-2bbx"
                },
                {
                    "vulnerability": "VCID-v5h1-gpt1-97bj"
                },
                {
                    "vulnerability": "VCID-zj4d-e8r7-ufg3"
                },
                {
                    "vulnerability": "VCID-ztt4-vnk7-7ycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-nodejs10-nodejs@10.23.1-2%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101249?format=api",
            "purl": "pkg:rpm/redhat/rh-nodejs12-nodejs@12.20.1-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-75cr-t5b7-67d8"
                },
                {
                    "vulnerability": "VCID-7tyw-ppyt-zqgr"
                },
                {
                    "vulnerability": "VCID-cu35-t78a-wfcj"
                },
                {
                    "vulnerability": "VCID-k6bh-s1cq-n3a7"
                },
                {
                    "vulnerability": "VCID-v5h1-gpt1-97bj"
                },
                {
                    "vulnerability": "VCID-zj4d-e8r7-ufg3"
                },
                {
                    "vulnerability": "VCID-ztt4-vnk7-7ycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-nodejs12-nodejs@12.20.1-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101251?format=api",
            "purl": "pkg:rpm/redhat/rh-nodejs12-nodejs-nodemon@2.0.3-1?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-75cr-t5b7-67d8"
                },
                {
                    "vulnerability": "VCID-7tyw-ppyt-zqgr"
                },
                {
                    "vulnerability": "VCID-cu35-t78a-wfcj"
                },
                {
                    "vulnerability": "VCID-k6bh-s1cq-n3a7"
                },
                {
                    "vulnerability": "VCID-v5h1-gpt1-97bj"
                },
                {
                    "vulnerability": "VCID-zj4d-e8r7-ufg3"
                },
                {
                    "vulnerability": "VCID-ztt4-vnk7-7ycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-nodejs12-nodejs-nodemon@2.0.3-1%3Farch=el7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/101250?format=api",
            "purl": "pkg:rpm/redhat/rh-nodejs14-nodejs@14.15.4-2?arch=el7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7tyw-ppyt-zqgr"
                },
                {
                    "vulnerability": "VCID-fu8u-pxaa-43be"
                },
                {
                    "vulnerability": "VCID-kh5k-ynnf-2bbx"
                },
                {
                    "vulnerability": "VCID-m4sn-7wuq-e3cd"
                },
                {
                    "vulnerability": "VCID-v5h1-gpt1-97bj"
                },
                {
                    "vulnerability": "VCID-zj4d-e8r7-ufg3"
                },
                {
                    "vulnerability": "VCID-ztt4-vnk7-7ycq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/rh-nodejs14-nodejs@14.15.4-2%3Farch=el7"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7754.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7754.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7754",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81916",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81814",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81824",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81847",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81844",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8187",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81877",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81897",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.81885",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.0163",
                    "scoring_system": "epss",
                    "scoring_elements": "0.8188",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7754"
        },
        {
            "reference_url": "https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e",
            "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/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e"
        },
        {
            "reference_url": "https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p",
            "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/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7754",
            "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://nvd.nist.gov/vuln/detail/CVE-2020-7754"
        },
        {
            "reference_url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353",
            "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/SNYK-JAVA-ORGWEBJARSNPM-1019353"
        },
        {
            "reference_url": "https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352",
            "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/SNYK-JS-NPMUSERVALIDATE-1019352"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1892430",
            "reference_id": "1892430",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1892430"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-pw54-mh39-w3hc",
            "reference_id": "GHSA-pw54-mh39-w3hc",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-pw54-mh39-w3hc"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0421",
            "reference_id": "RHSA-2021:0421",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0421"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0485",
            "reference_id": "RHSA-2021:0485",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0485"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0521",
            "reference_id": "RHSA-2021:0521",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0521"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0548",
            "reference_id": "RHSA-2021:0548",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0548"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0549",
            "reference_id": "RHSA-2021:0549",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0549"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2021:0551",
            "reference_id": "RHSA-2021:0551",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2021:0551"
        }
    ],
    "weaknesses": [
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-v5h1-gpt1-97bj"
}