Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/98768?format=api",
    "purl": "pkg:rpm/redhat/php@8.0.20-3?arch=el9",
    "type": "rpm",
    "namespace": "redhat",
    "name": "php",
    "version": "8.0.20-3",
    "qualifiers": {
        "arch": "el9"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48770?format=api",
            "vulnerability_id": "VCID-buvz-8rkh-8kak",
            "summary": "Multiple vulnerabilities have been discovered in PHP, the worst of which could result in local root privilege escalation.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21708.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-21708.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21708",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44128",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44453",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44444",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44373",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4427",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44273",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44191",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44064",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44142",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4416",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00218",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44098",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.0026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.49347",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.49349",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0026",
                            "scoring_system": "epss",
                            "scoring_elements": "0.49374",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5014",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.50217",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.5021",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.50163",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.50185",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00267",
                            "scoring_system": "epss",
                            "scoring_elements": "0.50213",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21708"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21707",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21707"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21708",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21708"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/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=2055879",
                    "reference_id": "2055879",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2055879"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2695",
                    "reference_id": "AVG-2695",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2695"
                },
                {
                    "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://access.redhat.com/errata/RHSA-2022:7624",
                    "reference_id": "RHSA-2022:7624",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:7624"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:7628",
                    "reference_id": "RHSA-2022:7628",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:7628"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8197",
                    "reference_id": "RHSA-2022:8197",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8197"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:3016",
                    "reference_id": "RHSA-2025:3016",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:3016"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2025:3076",
                    "reference_id": "RHSA-2025:3076",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2025:3076"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5303-1/",
                    "reference_id": "USN-5303-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5303-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2021-21708"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-buvz-8rkh-8kak"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/48771?format=api",
            "vulnerability_id": "VCID-c524-3my9-n7d3",
            "summary": "Multiple vulnerabilities have been discovered in PHP, the worst of which could result in local root privilege escalation.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31625.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.0",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-31625.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31625",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7356",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73577",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73537",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73408",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73431",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73403",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7344",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73453",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73476",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73457",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73449",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73491",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.735",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73493",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73526",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73538",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73535",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73529",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00766",
                            "scoring_system": "epss",
                            "scoring_elements": "0.73554",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31625"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31625",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31625"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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=2098521",
                    "reference_id": "2098521",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2098521"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2768",
                    "reference_id": "AVG-2768",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Unknown",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2768"
                },
                {
                    "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://access.redhat.com/errata/RHSA-2022:5491",
                    "reference_id": "RHSA-2022:5491",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:5491"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:6158",
                    "reference_id": "RHSA-2022:6158",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:6158"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:7624",
                    "reference_id": "RHSA-2022:7624",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:7624"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:8197",
                    "reference_id": "RHSA-2022:8197",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:8197"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5479-1/",
                    "reference_id": "USN-5479-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5479-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5479-2/",
                    "reference_id": "USN-5479-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5479-2/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5479-3/",
                    "reference_id": "USN-5479-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5479-3/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-31625"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c524-3my9-n7d3"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/php@8.0.20-3%3Farch=el9"
}