Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/81059?format=api",
    "vulnerability_id": "VCID-bd7h-pr64-2qcg",
    "summary": "selinux-policy: SELinux prevents pam-u2f to work correctly, disabling the 2nd factor during authentication",
    "aliases": [
        {
            "alias": "CVE-2020-24612"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937686?format=api",
            "purl": "pkg:deb/debian/refpolicy@0?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@0%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937682?format=api",
            "purl": "pkg:deb/debian/refpolicy@2:2.20210203-7?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@2:2.20210203-7%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937680?format=api",
            "purl": "pkg:deb/debian/refpolicy@2:2.20221101-9?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@2:2.20221101-9%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937685?format=api",
            "purl": "pkg:deb/debian/refpolicy@2:2.20250213-10?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@2:2.20250213-10%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937683?format=api",
            "purl": "pkg:deb/debian/refpolicy@2:2.20250213-11?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@2:2.20250213-11%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/937684?format=api",
            "purl": "pkg:deb/debian/refpolicy@2:2.20250213-12?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/refpolicy@2:2.20250213-12%3Fdistro=trixie"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24612.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.0",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-24612.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24612",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15899",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15963",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.16027",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15827",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15912",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15975",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15954",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15915",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00051",
                    "scoring_system": "epss",
                    "scoring_elements": "0.15847",
                    "published_at": "2026-04-13T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-24612"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1871217",
            "reference_id": "1871217",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1871217"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 305,
            "name": "Authentication Bypass by Primary Weakness",
            "description": "The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 4.0",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bd7h-pr64-2qcg"
}