Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/36196?format=api",
    "vulnerability_id": "VCID-9wyg-uv2p-d3ez",
    "summary": "HashiCorp Consul Privilege Escalation Vulnerability\nHashiCorp Consul and Consul Enterprise 1.10.1 Raft RPC layer allows non-server agents with a valid certificate signed by the same CA to access server-only functionality, enabling privilege escalation. Fixed in 1.8.15, 1.9.9 and 1.10.2.",
    "aliases": [
        {
            "alias": "CVE-2021-37219"
        },
        {
            "alias": "GHSA-ccw8-7688-vqx4"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371939?format=api",
            "purl": "pkg:alpm/archlinux/consul@1.10.2-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.10.2-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/77620?format=api",
            "purl": "pkg:ebuild/app-admin/vault@1.10.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-admin/vault@1.10.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74189?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.8.15",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.8.15"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74188?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.9.9",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.9.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74187?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.10.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.10.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/371938?format=api",
            "purl": "pkg:alpm/archlinux/consul@1.10.1-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wyg-uv2p-d3ez"
                },
                {
                    "vulnerability": "VCID-tgcs-1brz-6yf4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.10.1-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/74186?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.10.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wyg-uv2p-d3ez"
                },
                {
                    "vulnerability": "VCID-tgcs-1brz-6yf4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.10.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-37219.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-37219.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-37219",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62511",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62514",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62488",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62504",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62498",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62454",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62476",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62487",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62468",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62452",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62403",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62436",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62347",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00428",
                    "scoring_system": "epss",
                    "scoring_elements": "0.62406",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-37219"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37219",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-37219"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2021-22-consul-raft-rpc-privilege-escalation/29024"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/commit/3357e57dac9aadabd476f7a14973e47f003c4cf0",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/3357e57dac9aadabd476f7a14973e47f003c4cf0"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/commit/473edd1764b6739e2e4610ea5dede4c2bc6009d1",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/473edd1764b6739e2e4610ea5dede4c2bc6009d1"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/commit/ccf8eb1947357434eb6e66303ddab79f4c9d4103",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/ccf8eb1947357434eb6e66303ddab79f4c9d4103"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/pull/10925",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul/pull/10925"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37219",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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-2021-37219"
        },
        {
            "reference_url": "https://security.gentoo.org/glsa/202207-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.gentoo.org/glsa/202207-01"
        },
        {
            "reference_url": "https://www.hashicorp.com/blog/category/consul",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "8.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/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=1015218",
            "reference_id": "1015218",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015218"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2008169",
            "reference_id": "2008169",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2008169"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2360",
            "reference_id": "AVG-2360",
            "reference_type": "",
            "scores": [
                {
                    "value": "High",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2360"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 295,
            "name": "Improper Certificate Validation",
            "description": "The product does not validate, or incorrectly validates, a certificate."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-9wyg-uv2p-d3ez"
}