Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/57615?format=api",
    "vulnerability_id": "VCID-kf3v-xwjs-ube6",
    "summary": "HashiCorp Consul Access Restriction Bypass\nHashiCorp Consul (and Consul Enterprise) 1.4.x before 1.4.3 allows a client to bypass intended access restrictions and obtain the privileges of one other arbitrary token within secondary datacenters, because a token with literally \"<hidden>\" as its secret is used in unusual circumstances.",
    "aliases": [
        {
            "alias": "CVE-2019-8336"
        },
        {
            "alias": "GHSA-fhm8-cxcv-pwvc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/584531?format=api",
            "purl": "pkg:deb/debian/consul@0?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@0%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583644?format=api",
            "purl": "pkg:deb/debian/consul@1.8.7%2Bdfsg1-2?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.8.7%252Bdfsg1-2%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/83893?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.4.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.4.3"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-8336",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58371",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58328",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58305",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58285",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58317",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5832",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58297",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58259",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58272",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58257",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58222",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58264",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58324",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58169",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58255",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58276",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5825",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.58304",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00362",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5831",
                    "published_at": "2026-04-09T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-8336"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/blob/003370ded024096cd89fb2aa2bc15293c23b9707/agent/consul/leader.go#L405",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul/blob/003370ded024096cd89fb2aa2bc15293c23b9707/agent/consul/leader.go#L405"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/commit/90040f8bffb311e6cd8599273e95b607175e311f",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul/commit/90040f8bffb311e6cd8599273e95b607175e311f"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/issues/5423",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul/issues/5423"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2019-8336",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:P/I:P/A:P"
                },
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "8.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-8336"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:hashicorp:consul:*:*:*:*:community:*:*:*",
            "reference_id": "cpe:2.3:a:hashicorp:consul:*:*:*:*:community:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:hashicorp:consul:*:*:*:*:community:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
            "reference_id": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        }
    ],
    "exploits": [],
    "severity_range_score": "6.8 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kf3v-xwjs-ube6"
}