Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48773?format=api",
    "vulnerability_id": "VCID-2tux-e678-hubz",
    "summary": "Multiple vulnerabilities have been discovered in PHP, the worst of which could result in local root privilege escalation.",
    "aliases": [
        {
            "alias": "CVE-2022-31627"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/935089?format=api",
            "purl": "pkg:deb/debian/php7.4@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/php7.4@0%3Fdistro=bullseye"
        },
        {
            "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/77635?format=api",
            "purl": "pkg:ebuild/dev-lang/php@7.4.30",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@7.4.30"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77636?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.0.23",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.0.23"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77637?format=api",
            "purl": "pkg:ebuild/dev-lang/php@8.1.8",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/dev-lang/php@8.1.8"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31627.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-2022-31627.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31627",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3976",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39782",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39701",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39755",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39769",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39779",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39743",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39727",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39777",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39748",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39664",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39484",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39471",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39389",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39262",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39328",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39341",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39249",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39273",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00181",
                    "scoring_system": "epss",
                    "scoring_elements": "0.39344",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31627"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/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://bugzilla.redhat.com/show_bug.cgi?id=2107018",
            "reference_id": "2107018",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2107018"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202209-20",
            "reference_id": "GLSA-202209-20",
            "reference_type": "",
            "scores": [],
            "url": "https://security.gentoo.org/glsa/202209-20"
        },
        {
            "reference_url": "https://usn.ubuntu.com/5530-1/",
            "reference_id": "USN-5530-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/5530-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 119,
            "name": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
            "description": "The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.5 - 8.1",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2tux-e678-hubz"
}