Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/78139?format=api",
    "vulnerability_id": "VCID-nxx4-txsk-6ucr",
    "summary": "perl: stack-based crash in S_find_uninit_var()",
    "aliases": [
        {
            "alias": "CVE-2022-48522"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934728?format=api",
            "purl": "pkg:deb/debian/perl@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934721?format=api",
            "purl": "pkg:deb/debian/perl@5.32.1-4%2Bdeb11u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r3y5-1dk2-pyfc"
                },
                {
                    "vulnerability": "VCID-vgg2-vymx-b3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.32.1-4%252Bdeb11u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934767?format=api",
            "purl": "pkg:deb/debian/perl@5.36.0-4?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.36.0-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934719?format=api",
            "purl": "pkg:deb/debian/perl@5.36.0-7%2Bdeb12u3?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vgg2-vymx-b3fe"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.36.0-7%252Bdeb12u3%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934723?format=api",
            "purl": "pkg:deb/debian/perl@5.40.1-6?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.40.1-6%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/934722?format=api",
            "purl": "pkg:deb/debian/perl@5.40.1-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/perl@5.40.1-7%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-48522.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-48522.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-48522",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.9502",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95057",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95046",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95055",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95022",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95024",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95032",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95036",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95042",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.17318",
                    "scoring_system": "epss",
                    "scoring_elements": "0.95043",
                    "published_at": "2026-04-12T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-48522"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2234416",
            "reference_id": "2234416",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2234416"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20230915-0008/",
            "reference_id": "ntap-20230915-0008",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-10-03T14:20:55Z/"
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20230915-0008/"
        },
        {
            "reference_url": "https://github.com/Perl/perl5/blob/79a7b254d85a10b65126ad99bf10e70480569d68/sv.c#L16336-L16345",
            "reference_id": "sv.c#L16336-L16345",
            "reference_type": "",
            "scores": [
                {
                    "value": "Track*",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2024-10-03T14:20:55Z/"
                }
            ],
            "url": "https://github.com/Perl/perl5/blob/79a7b254d85a10b65126ad99bf10e70480569d68/sv.c#L16336-L16345"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6517-1/",
            "reference_id": "USN-6517-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6517-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 121,
            "name": "Stack-based Buffer Overflow",
            "description": "A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function)."
        },
        {
            "cwe_id": 835,
            "name": "Loop with Unreachable Exit Condition ('Infinite Loop')",
            "description": "The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.5 - 5.5",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nxx4-txsk-6ucr"
}