Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/247299?format=api",
    "vulnerability_id": "VCID-gat8-avpb-63at",
    "summary": "",
    "aliases": [
        {
            "alias": "CVE-2024-21891"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199772?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/199766?format=api",
            "purl": "pkg:deb/debian/nodejs@12.22.12~dfsg-1~deb11u4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-55x4-jptm-w7h9"
                },
                {
                    "vulnerability": "VCID-9td8-barr-bbgf"
                },
                {
                    "vulnerability": "VCID-b3us-7znz-n3ds"
                },
                {
                    "vulnerability": "VCID-pu59-pggp-3qdw"
                },
                {
                    "vulnerability": "VCID-yy2n-v7k5-mqas"
                }
            ],
            "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/199764?format=api",
            "purl": "pkg:deb/debian/nodejs@18.20.4%2Bdfsg-1~deb12u1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-55x4-jptm-w7h9"
                }
            ],
            "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/199768?format=api",
            "purl": "pkg:deb/debian/nodejs@20.19.2%2Bdfsg-1%2Bdeb13u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@20.19.2%252Bdfsg-1%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/199767?format=api",
            "purl": "pkg:deb/debian/nodejs@24.15.0%2Bdfsg%2B~cs24.12.2-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nodejs@24.15.0%252Bdfsg%252B~cs24.12.2-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/175444?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/175445?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/175446?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.46588",
                    "published_at": "2026-05-30T12: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-gat8-avpb-63at"
}