Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/50858?format=api",
    "purl": "pkg:golang/github.com/hashicorp/consul@1.7.9",
    "type": "golang",
    "namespace": "github.com/hashicorp",
    "name": "consul",
    "version": "1.7.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.7.10",
    "latest_non_vulnerable_version": "1.22.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/14476?format=api",
            "vulnerability_id": "VCID-mv9z-hxmr-skfp",
            "summary": "Denial of service in HashiCorp Consul\nHashiCorp Consul Enterprise versions 1.7.0 up to 1.7.8 and 1.8.0 up to 1.8.4 includes a namespace replication bug which can be triggered to cause denial of service via infinite Raft writes. Fixed in 1.7.9 and 1.8.5.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-25201",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8149",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81346",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81374",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81379",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81401",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81388",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8138",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81417",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81418",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81419",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81441",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81448",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81453",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8147",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81316",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81325",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.01543",
                            "scoring_system": "epss",
                            "scoring_elements": "0.81347",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-25201"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25201",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25201"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/blob/master/CHANGELOG.md#185-october-23-2020",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul/blob/master/CHANGELOG.md#185-october-23-2020"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/pull/9024",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul/pull/9024"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/releases/tag/v1.8.5",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul/releases/tag/v1.8.5"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25201",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25201"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-09",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-09"
                },
                {
                    "reference_url": "https://www.hashicorp.com/blog/category/consul",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.hashicorp.com/blog/category/consul"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973892",
                    "reference_id": "973892",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973892"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1295",
                    "reference_id": "AVG-1295",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1295"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50858?format=api",
                    "purl": "pkg:golang/github.com/hashicorp/consul@1.7.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.7.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/50859?format=api",
                    "purl": "pkg:golang/github.com/hashicorp/consul@1.8.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.8.5"
                }
            ],
            "aliases": [
                "CVE-2020-25201",
                "GHSA-496g-fr33-whrf"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mv9z-hxmr-skfp"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.7.9"
}