Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/373163?format=api",
    "purl": "pkg:alpm/archlinux/c-ares@1.12.0-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "c-ares",
    "version": "1.12.0-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.13.0-1",
    "latest_non_vulnerable_version": "1.17.2-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84234?format=api",
            "vulnerability_id": "VCID-w3cx-2jcp-pyga",
            "summary": "c-ares: NAPTR parser out of bounds access",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-1000381.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-1000381.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000381",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66165",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6629",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66271",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66239",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66274",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66206",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66233",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66203",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6625",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66263",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00506",
                            "scoring_system": "epss",
                            "scoring_elements": "0.66284",
                            "published_at": "2026-04-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-1000381"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000381",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000381"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.4",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:P/I:N/A:P"
                        },
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1463132",
                    "reference_id": "1463132",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1463132"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865360",
                    "reference_id": "865360",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865360"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201707-21",
                    "reference_id": "ASA-201707-21",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201707-21"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-315",
                    "reference_id": "AVG-315",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-315"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:2908",
                    "reference_id": "RHSA-2017:2908",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:2908"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3395-1/",
                    "reference_id": "USN-3395-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3395-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4796-1/",
                    "reference_id": "USN-USN-4796-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4796-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/374538?format=api",
                    "purl": "pkg:alpm/archlinux/c-ares@1.13.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/c-ares@1.13.0-1"
                }
            ],
            "aliases": [
                "CVE-2017-1000381"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-w3cx-2jcp-pyga"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/47188?format=api",
            "vulnerability_id": "VCID-33wk-w9ez-vyd2",
            "summary": "A heap-based buffer overflow in c-ares might allow remote attackers\n    to cause a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5180.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-5180.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5180",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95153",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95203",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95198",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95201",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95164",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95166",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95169",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95176",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9518",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95186",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95187",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.18165",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9519",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-5180"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5180",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5180"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1380463",
                    "reference_id": "1380463",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1380463"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839151",
                    "reference_id": "839151",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839151"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201609-31",
                    "reference_id": "ASA-201609-31",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201609-31"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-37",
                    "reference_id": "AVG-37",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-37"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201701-28",
                    "reference_id": "GLSA-201701-28",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201701-28"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2017:0002",
                    "reference_id": "RHSA-2017:0002",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2017:0002"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3143-1/",
                    "reference_id": "USN-3143-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3143-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/373163?format=api",
                    "purl": "pkg:alpm/archlinux/c-ares@1.12.0-1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-w3cx-2jcp-pyga"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/c-ares@1.12.0-1"
                }
            ],
            "aliases": [
                "CVE-2016-5180"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-33wk-w9ez-vyd2"
        }
    ],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/c-ares@1.12.0-1"
}