Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79236?format=api",
    "vulnerability_id": "VCID-fhh6-shuh-v3am",
    "summary": "php: potential buffer overflow in php_cli_server_startup_workers",
    "aliases": [
        {
            "alias": "CVE-2022-4900"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935086?format=api",
            "purl": "pkg:deb/debian/php7.4@7.4.33-1%2Bdeb11u5?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.33-1%252Bdeb11u5%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935101?format=api",
            "purl": "pkg:deb/debian/php7.4@7.4.33-1%2Bdeb11u6?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.33-1%252Bdeb11u6%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935109?format=api",
            "purl": "pkg:deb/debian/php8.2@0?distro=bookworm",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php8.2@0%3Fdistro=bookworm"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935107?format=api",
            "purl": "pkg:deb/debian/php8.2@8.2.29-1~deb12u1?distro=bookworm",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php8.2@8.2.29-1~deb12u1%3Fdistro=bookworm"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1050655?format=api",
            "purl": "pkg:deb/debian/php7.4@7.4.33-1%2Bdeb11u5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1re1-15w4-cqeq"
                },
                {
                    "vulnerability": "VCID-26ab-3bt8-jkf3"
                },
                {
                    "vulnerability": "VCID-341r-8amt-z7dr"
                },
                {
                    "vulnerability": "VCID-53h9-y2ns-jfh1"
                },
                {
                    "vulnerability": "VCID-6g29-te13-kucu"
                },
                {
                    "vulnerability": "VCID-7151-69v8-cqaj"
                },
                {
                    "vulnerability": "VCID-7qqj-hp6m-z7bh"
                },
                {
                    "vulnerability": "VCID-9byf-ymwr-eug8"
                },
                {
                    "vulnerability": "VCID-bf18-3zx5-f7gr"
                },
                {
                    "vulnerability": "VCID-e16f-4ynx-fqb9"
                },
                {
                    "vulnerability": "VCID-fhh6-shuh-v3am"
                },
                {
                    "vulnerability": "VCID-fyhr-st6h-eker"
                },
                {
                    "vulnerability": "VCID-nrnn-pgxj-xugg"
                },
                {
                    "vulnerability": "VCID-qyx5-b321-2udm"
                },
                {
                    "vulnerability": "VCID-t862-kese-z7ae"
                },
                {
                    "vulnerability": "VCID-ugx8-uqup-n3b4"
                },
                {
                    "vulnerability": "VCID-uqrh-9nue-rqgx"
                },
                {
                    "vulnerability": "VCID-uush-g6k9-9ffm"
                },
                {
                    "vulnerability": "VCID-v42g-pabn-yqe7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@7.4.33-1%252Bdeb11u5"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-4900.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-4900.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-4900",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20282",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20339",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20063",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20144",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20202",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20226",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20182",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20124",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20116",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00065",
                    "scoring_system": "epss",
                    "scoring_elements": "0.20121",
                    "published_at": "2026-04-18T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-4900"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4900",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4900"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179880",
            "reference_id": "2179880",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2179880"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2023:0848",
            "reference_id": "RHSA-2023:0848",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:0848"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6757-1/",
            "reference_id": "USN-6757-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6757-1/"
        },
        {
            "reference_url": "https://usn.ubuntu.com/6757-2/",
            "reference_id": "USN-6757-2",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/6757-2/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 787,
            "name": "Out-of-bounds Write",
            "description": "The product writes data past the end, or before the beginning, of the intended buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.2 - 6.2",
    "exploitability": "0.5",
    "weighted_severity": "5.6",
    "risk_score": 2.8,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fhh6-shuh-v3am"
}