Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/97866?format=api",
    "purl": "pkg:rpm/redhat/openshift@4.10.0-202303221742.p0.g16bcd69.assembly.stream?arch=el7",
    "type": "rpm",
    "namespace": "redhat",
    "name": "openshift",
    "version": "4.10.0-202303221742.p0.g16bcd69.assembly.stream",
    "qualifiers": {
        "arch": "el7"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79020?format=api",
            "vulnerability_id": "VCID-92ak-64hu-dbg1",
            "summary": "kube-apiserver: Aggregated API server can cause clients to be redirected (SSRF)",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3172.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3172.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3172",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85392",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85412",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85415",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85436",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85444",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85458",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85456",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02537",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85453",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86205",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.02823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86174",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02823",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86195",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.862",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02834",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86205",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3172"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3172",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3172"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2127804",
                    "reference_id": "2127804",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2127804"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2022:7398",
                    "reference_id": "RHSA-2022:7398",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2022:7398"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:1655",
                    "reference_id": "RHSA-2023:1655",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:1655"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:3609",
                    "reference_id": "RHSA-2023:3609",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:3609"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2022-3172"
            ],
            "risk_score": 2.3,
            "exploitability": "0.5",
            "weighted_severity": "4.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-92ak-64hu-dbg1"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.3",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openshift@4.10.0-202303221742.p0.g16bcd69.assembly.stream%3Farch=el7"
}