Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79308?format=api",
    "vulnerability_id": "VCID-pehm-pzkq-2bdf",
    "summary": "OpenShift: Missing HTTP Strict Transport Security",
    "aliases": [
        {
            "alias": "CVE-2022-3259"
        }
    ],
    "fixed_packages": [],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/97577?format=api",
            "purl": "pkg:rpm/redhat/openshift@4.12.0-202301042257.p0.g77bec7a.assembly.stream?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-92ak-64hu-dbg1"
                },
                {
                    "vulnerability": "VCID-ea5d-jxkg-mbhn"
                },
                {
                    "vulnerability": "VCID-pehm-pzkq-2bdf"
                },
                {
                    "vulnerability": "VCID-x63z-bjr8-j7d7"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openshift@4.12.0-202301042257.p0.g77bec7a.assembly.stream%3Farch=el8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/96996?format=api",
            "purl": "pkg:rpm/redhat/openshift@4.13.0-202304211155.p0.gb404935.assembly.stream?arch=el8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5kkq-5jpf-fqev"
                },
                {
                    "vulnerability": "VCID-5q6k-7hu5-w3ez"
                },
                {
                    "vulnerability": "VCID-pehm-pzkq-2bdf"
                },
                {
                    "vulnerability": "VCID-sdd3-35ng-g7a3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/openshift@4.13.0-202304211155.p0.gb404935.assembly.stream%3Farch=el8"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3259.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-3259.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3259",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00096",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26581",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00096",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26687",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00096",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2663",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00096",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26729",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00096",
                    "scoring_system": "epss",
                    "scoring_elements": "0.26513",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28098",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28141",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28041",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.2805",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00102",
                    "scoring_system": "epss",
                    "scoring_elements": "0.28033",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00126",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31288",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00126",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31356",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00126",
                    "scoring_system": "epss",
                    "scoring_elements": "0.31438",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00134",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32792",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00134",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32679",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00134",
                    "scoring_system": "epss",
                    "scoring_elements": "0.32939",
                    "published_at": "2026-04-21T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-3259"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2103220",
            "reference_id": "2103220",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.4",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2025-04-22T20:24:23Z/"
                }
            ],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2103220"
        },
        {
            "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:1325",
            "reference_id": "RHSA-2023:1325",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2023:1325"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 665,
            "name": "Improper Initialization",
            "description": "The product does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.4 - 7.4",
    "exploitability": "0.5",
    "weighted_severity": "6.7",
    "risk_score": 3.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pehm-pzkq-2bdf"
}