Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/125674?format=api",
    "purl": "pkg:rpm/redhat/cups@1:1.3.7-30.el5_9?arch=3",
    "type": "rpm",
    "namespace": "redhat",
    "name": "cups",
    "version": "1:1.3.7-30.el5_9",
    "qualifiers": {
        "arch": "3"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41478?format=api",
            "vulnerability_id": "VCID-mtzd-538p-kbhm",
            "summary": "A vulnerability in CUPS may allow for arbitrary file access.",
            "references": [
                {
                    "reference_url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692791",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692791"
                },
                {
                    "reference_url": "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00003.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00006.html"
                },
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://lists.opensuse.org/opensuse-security-announce/2015-06/msg00010.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2013-0580.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://rhn.redhat.com/errata/RHSA-2013-0580.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5519.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-5519.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5519",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93179",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93114",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93123",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93127",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93126",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93134",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93139",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93144",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93141",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93143",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93159",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93164",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93171",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93176",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.10228",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93172",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-5519"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5519",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-5519"
                },
                {
                    "reference_url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80012",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80012"
                },
                {
                    "reference_url": "http://support.apple.com/kb/HT5784",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://support.apple.com/kb/HT5784"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/11/10/5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/11/10/5"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/11/11/2",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/11/11/2"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2012/11/11/5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2012/11/11/5"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/56494",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.securityfocus.com/bid/56494"
                },
                {
                    "reference_url": "http://www.ubuntu.com/usn/USN-1654-1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.ubuntu.com/usn/USN-1654-1"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692791",
                    "reference_id": "692791",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=692791"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=875898",
                    "reference_id": "875898",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=875898"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apple:cups:1.4.4:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:a:apple:cups:1.4.4:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apple:cups:1.4.4:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*",
                    "reference_id": "cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:*:*:*:*:*:*:*:*"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5519",
                    "reference_id": "CVE-2012-5519",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.2",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:L/Au:N/C:C/I:C/A:C"
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-5519"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201404-01",
                    "reference_id": "GLSA-201404-01",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201404-01"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2013:0580",
                    "reference_id": "RHSA-2013:0580",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2013:0580"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/1654-1/",
                    "reference_id": "USN-1654-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/1654-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2012-5519"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "6.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mtzd-538p-kbhm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/cups@1:1.3.7-30.el5_9%3Farch=3"
}