Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/81948?format=api",
    "purl": "pkg:golang/github.com/hashicorp/consul@1.7.14",
    "type": "golang",
    "namespace": "github.com/hashicorp",
    "name": "consul",
    "version": "1.7.14",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.8.5",
    "latest_non_vulnerable_version": "1.22.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51526?format=api",
            "vulnerability_id": "VCID-ftvt-9nb3-xue3",
            "summary": "Multiple vulnerabilities have been discovered in HashiCorp Consul, the worst of which could result in denial of service.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-25864.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-25864.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-25864",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99283",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99282",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9928",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99277",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99276",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99274",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99273",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.8334",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99275",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.84021",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99305",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.84021",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99304",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.84021",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99306",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.84021",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99298",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.84021",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99301",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-25864"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25864",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-25864"
                },
                {
                    "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://discuss.hashicorp.com/t/hcsec-2021-07-consul-api-kv-endpoint-vulnerable-to-cross-site-scripting/23368"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/hashicorp/consul"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25864",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25864"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202208-09",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "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": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.hashicorp.com/blog/category/consul"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1950275",
                    "reference_id": "1950275",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1950275"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987351",
                    "reference_id": "987351",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987351"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1829",
                    "reference_id": "AVG-1829",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Medium",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1829"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81948?format=api",
                    "purl": "pkg:golang/github.com/hashicorp/consul@1.7.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.7.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81947?format=api",
                    "purl": "pkg:golang/github.com/hashicorp/consul@1.8.10",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.8.10"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/81946?format=api",
                    "purl": "pkg:golang/github.com/hashicorp/consul@1.9.5",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.9.5"
                }
            ],
            "aliases": [
                "CVE-2020-25864",
                "GHSA-8xmx-h8rq-h94j"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ftvt-9nb3-xue3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.7.14"
}