Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/125950?format=api",
    "purl": "pkg:rpm/redhat/kernel@2.6.18-238.39.1?arch=el5",
    "type": "rpm",
    "namespace": "redhat",
    "name": "kernel",
    "version": "2.6.18-238.39.1",
    "qualifiers": {
        "arch": "el5"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/3881?format=api",
            "vulnerability_id": "VCID-2q8z-7gt6-j3a7",
            "summary": "64-bit PV guest privilege escalation vulnerability",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0217.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-0217.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0217",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99476",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99478",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99479",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99481",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99482",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99484",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99485",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99486",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.88004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99487",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0217"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0217",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0217"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=813428",
                    "reference_id": "813428",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=813428"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd_x86-64/local/46508.rb",
                    "reference_id": "CVE-2012-0217",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd_x86-64/local/46508.rb"
                },
                {
                    "reference_url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/468679f9074ee4a7de7624d3440ff6e7f65cf9c2/modules/exploits/freebsd/local/intel_sysret_priv_esc.rb",
                    "reference_id": "CVE-2012-0217",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://raw.githubusercontent.com/rapid7/metasploit-framework/468679f9074ee4a7de7624d3440ff6e7f65cf9c2/modules/exploits/freebsd/local/intel_sysret_priv_esc.rb"
                },
                {
                    "reference_url": "http://packetstormsecurity.org/files/115908/sysret.rar",
                    "reference_id": "CVE-2012-0217;OSVDB-82850;MS12-042",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "http://packetstormsecurity.org/files/115908/sysret.rar"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows_x86-64/local/20861.txt",
                    "reference_id": "CVE-2012-0217;OSVDB-82850;MS12-042",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows_x86-64/local/20861.txt"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd/local/28718.c",
                    "reference_id": "CVE-2012-0217;OSVDB-82949",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/freebsd/local/28718.c"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201309-24",
                    "reference_id": "GLSA-201309-24",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201309-24"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0720",
                    "reference_id": "RHSA-2012:0720",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0720"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0721",
                    "reference_id": "RHSA-2012:0721",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0721"
                },
                {
                    "reference_url": "https://xenbits.xen.org/xsa/advisory-7.html",
                    "reference_id": "XSA-7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://xenbits.xen.org/xsa/advisory-7.html"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2012-0217"
            ],
            "risk_score": 1.6,
            "exploitability": "2.0",
            "weighted_severity": "0.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2q8z-7gt6-j3a7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/87101?format=api",
            "vulnerability_id": "VCID-kuy3-33j4-auax",
            "summary": "kernel: ipv6: panic using raw sockets",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1583.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-1583.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1583",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79928",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79935",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79956",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79944",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79973",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79982",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80002",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79986",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.79978",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80006",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80009",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80037",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80042",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80059",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80072",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01335",
                            "scoring_system": "epss",
                            "scoring_elements": "0.80095",
                            "published_at": "2026-05-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-1583"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=752304",
                    "reference_id": "752304",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=752304"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0480",
                    "reference_id": "RHSA-2012:0480",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0480"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2012:0720",
                    "reference_id": "RHSA-2012:0720",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2012:0720"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2012-1583"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kuy3-33j4-auax"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.6",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/kernel@2.6.18-238.39.1%3Farch=el5"
}