Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/79892?format=api",
    "vulnerability_id": "VCID-2evu-1apv-eqby",
    "summary": "ansible-tower: Privilege escalation via job isolation escape",
    "aliases": [
        {
            "alias": "CVE-2021-4112"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/43850?format=api",
            "purl": "pkg:pypi/ansible-core@2.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1wv8-rvwu-nye3"
                },
                {
                    "vulnerability": "VCID-4pht-n5pc-f3gw"
                },
                {
                    "vulnerability": "VCID-682j-e2pu-1uee"
                },
                {
                    "vulnerability": "VCID-g2pj-dmae-e3er"
                },
                {
                    "vulnerability": "VCID-v6rk-y6ws-dkh9"
                },
                {
                    "vulnerability": "VCID-w8qm-73f3-rkbm"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.11.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/47060?format=api",
            "purl": "pkg:pypi/ansible-core@2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2evu-1apv-eqby"
                },
                {
                    "vulnerability": "VCID-geaa-6dxx-tbcw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/ansible-core@2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99785?format=api",
            "purl": "pkg:rpm/redhat/ansible-runner@2.0.3-3?arch=el8ap",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2evu-1apv-eqby"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ansible-runner@2.0.3-3%3Farch=el8ap"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/99786?format=api",
            "purl": "pkg:rpm/redhat/ansible-runner@2.1.1-2?arch=el8ap",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2evu-1apv-eqby"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/ansible-runner@2.1.1-2%3Farch=el8ap"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-4112.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-4112.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-4112",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30618",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30755",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30803",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3062",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30678",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30709",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30713",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30668",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30624",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30649",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30632",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30598",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30418",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30303",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30222",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.3008",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30148",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30157",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30086",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30108",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00118",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30178",
                    "published_at": "2026-05-14T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-4112"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028121",
            "reference_id": "2028121",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2028121"
        },
        {
            "reference_url": "https://access.redhat.com/security/cve/CVE-2021-4112",
            "reference_id": "CVE-2021-4112",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/security/cve/CVE-2021-4112"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4112",
            "reference_id": "CVE-2021-4112",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-4112"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:0460",
            "reference_id": "RHSA-2022:0460",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:0460"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:0474",
            "reference_id": "RHSA-2022:0474",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:0474"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2022:0482",
            "reference_id": "RHSA-2022:0482",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2022:0482"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 552,
            "name": "Files or Directories Accessible to External Parties",
            "description": "The product makes files or directories accessible to unauthorized actors, even though they should not be."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "8.8 - 8.8",
    "exploitability": "0.5",
    "weighted_severity": "7.9",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2evu-1apv-eqby"
}