Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/112525?format=api",
    "purl": "pkg:rpm/redhat/sudo@1.8.6p3-28?arch=el6_9",
    "type": "rpm",
    "namespace": "redhat",
    "name": "sudo",
    "version": "1.8.6p3-28",
    "qualifiers": {
        "arch": "el6_9"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36531?format=api",
            "vulnerability_id": "VCID-zd6m-f7x1-kkaa",
            "summary": "A vulnerability in sudo allows local users to gain root privileges.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-1000367.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-1000367.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000367",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95348",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95383",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95385",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95393",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95397",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.954",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95401",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95403",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95358",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95364",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95369",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95376",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.19435",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95378",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.19918",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95495",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.19918",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95479",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.19918",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95488",
                            "published_at": "2026-05-05T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000367"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000367",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000367"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.9",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:M/Au:N/C:C/I:C/A:C"
                        },
                        {
                            "value": "7.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1453074",
                    "reference_id": "1453074",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1453074"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863731",
                    "reference_id": "863731",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863731"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201705-25",
                    "reference_id": "ASA-201705-25",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201705-25"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-282",
                    "reference_id": "AVG-282",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-282"
                },
                {
                    "reference_url": "http://seclists.org/oss-sec/2017/q2/470",
                    "reference_id": "CVE-2017-1000367",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "http://seclists.org/oss-sec/2017/q2/470"
                },
                {
                    "reference_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/42183.c",
                    "reference_id": "CVE-2017-1000367",
                    "reference_type": "exploit",
                    "scores": [],
                    "url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/42183.c"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201705-15",
                    "reference_id": "GLSA-201705-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201705-15"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1381",
                    "reference_id": "RHSA-2017:1381",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1381"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:1382",
                    "reference_id": "RHSA-2017:1382",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:1382"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3304-1/",
                    "reference_id": "USN-3304-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3304-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2017-1000367"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "7.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zd6m-f7x1-kkaa"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/sudo@1.8.6p3-28%3Farch=el6_9"
}