Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43435?format=api",
    "vulnerability_id": "VCID-65ru-yj23-qqbr",
    "summary": "HashiCorp Consul L7 deny intention results in an allow action\nIn HashiCorp Consul before 1.10.1 (and Consul Enterprise), xds can generate a situation where a single L7 deny intention (with a default deny policy) results in an allow action.",
    "aliases": [
        {
            "alias": "CVE-2021-36213"
        },
        {
            "alias": "GHSA-8h2g-r292-j8xh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373598?format=api",
            "purl": "pkg:alpm/archlinux/consul@1.9.8-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.9.8-1"
        },
        {
            "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/79243?format=api",
            "purl": "pkg:ebuild/app-admin/consul@1.9.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:ebuild/app-admin/consul@1.9.17"
        },
        {
            "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"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/373597?format=api",
            "purl": "pkg:alpm/archlinux/consul@1.9.7-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-65ru-yj23-qqbr"
                },
                {
                    "vulnerability": "VCID-jfzf-ynb1-23bs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/consul@1.9.7-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36213",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73514",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73414",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73387",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73424",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73437",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73461",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7344",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73433",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73475",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73484",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73478",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73511",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73522",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7352",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73383",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00765",
                    "scoring_system": "epss",
                    "scoring_elements": "0.73392",
                    "published_at": "2026-04-02T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-36213"
        },
        {
            "reference_url": "https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855",
            "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:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://discuss.hashicorp.com/t/hcsec-2021-16-consul-s-application-aware-intentions-deny-action-fails-open-when-combined-with-default-deny-policy/26855"
        },
        {
            "reference_url": "https://github.com/hashicorp/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:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1",
            "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:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/hashicorp/consul/releases/tag/v1.10.1"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36213",
            "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:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-36213"
        },
        {
            "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:H/A:N"
                },
                {
                    "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:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.hashicorp.com/blog/category/consul"
        },
        {
            "reference_url": "https://security.archlinux.org/ASA-202107-69",
            "reference_id": "ASA-202107-69",
            "reference_type": "",
            "scores": [],
            "url": "https://security.archlinux.org/ASA-202107-69"
        },
        {
            "reference_url": "https://security.archlinux.org/AVG-2171",
            "reference_id": "AVG-2171",
            "reference_type": "",
            "scores": [
                {
                    "value": "Medium",
                    "scoring_system": "archlinux",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.archlinux.org/AVG-2171"
        }
    ],
    "weaknesses": [],
    "exploits": [],
    "severity_range_score": "4.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-65ru-yj23-qqbr"
}