Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37550?format=api",
    "vulnerability_id": "VCID-vhg4-51cg-ebaa",
    "summary": "Multiple vulnerabilities have been discovered in Node.js, the worst of which could lead to execution of arbitrary code.",
    "aliases": [
        {
            "alias": "CVE-2024-21891"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932803?format=api",
            "purl": "pkg:deb/debian/nodejs@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932797?format=api",
            "purl": "pkg:deb/debian/nodejs@12.22.12~dfsg-1~deb11u4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vp3-fzdr-yqbm"
                },
                {
                    "vulnerability": "VCID-2t7c-dju9-pff6"
                },
                {
                    "vulnerability": "VCID-38k9-23j3-eqh7"
                },
                {
                    "vulnerability": "VCID-43sf-4r41-wugc"
                },
                {
                    "vulnerability": "VCID-96yh-1wub-zucg"
                },
                {
                    "vulnerability": "VCID-98fy-tedc-ube7"
                },
                {
                    "vulnerability": "VCID-bjza-25hu-vkad"
                },
                {
                    "vulnerability": "VCID-dgkh-jdah-wfh9"
                },
                {
                    "vulnerability": "VCID-dt7u-3usg-9uet"
                },
                {
                    "vulnerability": "VCID-kj75-vmwa-gqgq"
                },
                {
                    "vulnerability": "VCID-sag8-repb-g3f4"
                },
                {
                    "vulnerability": "VCID-twc8-ewm7-wkb1"
                },
                {
                    "vulnerability": "VCID-u8bq-8jp4-jkem"
                },
                {
                    "vulnerability": "VCID-v7uy-445x-tuan"
                },
                {
                    "vulnerability": "VCID-x1an-pjq4-nbby"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@12.22.12~dfsg-1~deb11u4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932795?format=api",
            "purl": "pkg:deb/debian/nodejs@18.20.4%2Bdfsg-1~deb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1vp3-fzdr-yqbm"
                },
                {
                    "vulnerability": "VCID-2t7c-dju9-pff6"
                },
                {
                    "vulnerability": "VCID-43sf-4r41-wugc"
                },
                {
                    "vulnerability": "VCID-96yh-1wub-zucg"
                },
                {
                    "vulnerability": "VCID-98fy-tedc-ube7"
                },
                {
                    "vulnerability": "VCID-bjza-25hu-vkad"
                },
                {
                    "vulnerability": "VCID-dgkh-jdah-wfh9"
                },
                {
                    "vulnerability": "VCID-dt7u-3usg-9uet"
                },
                {
                    "vulnerability": "VCID-twc8-ewm7-wkb1"
                },
                {
                    "vulnerability": "VCID-u8bq-8jp4-jkem"
                },
                {
                    "vulnerability": "VCID-v7uy-445x-tuan"
                },
                {
                    "vulnerability": "VCID-wf5t-3pwz-c7d7"
                },
                {
                    "vulnerability": "VCID-x1an-pjq4-nbby"
                },
                {
                    "vulnerability": "VCID-xkpz-pb5y-jqcy"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@18.20.4%252Bdfsg-1~deb12u1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932799?format=api",
            "purl": "pkg:deb/debian/nodejs@20.19.2%2Bdfsg-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@20.19.2%252Bdfsg-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/932798?format=api",
            "purl": "pkg:deb/debian/nodejs@22.22.2%2Bdfsg%2B~cs22.19.15-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@22.22.2%252Bdfsg%252B~cs22.19.15-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1063054?format=api",
            "purl": "pkg:deb/debian/nodejs@22.22.2%2Bdfsg%2B~cs22.19.15-3?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@22.22.2%252Bdfsg%252B~cs22.19.15-3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74656?format=api",
            "purl": "pkg:ebuild/net-libs/nodejs@18.20.4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-libs/nodejs@18.20.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74657?format=api",
            "purl": "pkg:ebuild/net-libs/nodejs@20.15.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-libs/nodejs@20.15.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74658?format=api",
            "purl": "pkg:ebuild/net-libs/nodejs@22.4.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/net-libs/nodejs@22.4.1"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-21891.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.6",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-21891.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21891",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46472",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46443",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46463",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46412",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46468",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00235",
                    "scoring_system": "epss",
                    "scoring_elements": "0.46492",
                    "published_at": "2026-04-11T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-21891"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://hackerone.com/reports/2259914",
            "reference_id": "2259914",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-11-20T17:59:04Z/"
                }
            ],
            "url": "https://hackerone.com/reports/2259914"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2265720",
            "reference_id": "2265720",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2265720"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202505-11",
            "reference_id": "GLSA-202505-11",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202505-11"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20240315-0005/",
            "reference_id": "ntap-20240315-0005",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.9",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2024-11-20T17:59:04Z/"
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20240315-0005/"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:1687",
            "reference_id": "RHSA-2024:1687",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:1687"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2024:1688",
            "reference_id": "RHSA-2024:1688",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2024:1688"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.6 - 8.4",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vhg4-51cg-ebaa"
}