Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46878?format=api",
    "vulnerability_id": "VCID-gkgb-5g8x-7fgf",
    "summary": "Denial of Service (DoS) in HashiCorp Consul\nHashiCorp Consul and Consul Enterprise up to 1.6.2 HTTP/RPC services allowed unbounded resource usage, and were susceptible to unauthenticated denial of service. Fixed in 1.6.3.\n\n### Specific Go Packages Affected\ngithub.com/hashicorp/consul/agent/consul",
    "aliases": [
        {
            "alias": "CVE-2020-7219"
        },
        {
            "alias": "GHSA-23jv-v6qj-3fhh"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/583643?format=api",
            "purl": "pkg:deb/debian/consul@1.7.0%2Bdfsg1-1?distro=bullseye",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.7.0%252Bdfsg1-1%3Fdistro=bullseye"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1049168?format=api",
            "purl": "pkg:deb/debian/consul@1.8.7%2Bdfsg1-2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.8.7%252Bdfsg1-2"
        },
        {
            "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/76233?format=api",
            "purl": "pkg:golang/github.com/hashicorp/consul@1.6.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:golang/github.com/hashicorp/consul@1.6.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1049167?format=api",
            "purl": "pkg:deb/debian/consul@1.0.7~dfsg1-5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2dmf-rj8w-xycm"
                },
                {
                    "vulnerability": "VCID-467g-8bds-t3ef"
                },
                {
                    "vulnerability": "VCID-cqzz-az3e-kych"
                },
                {
                    "vulnerability": "VCID-ftvt-9nb3-xue3"
                },
                {
                    "vulnerability": "VCID-gkgb-5g8x-7fgf"
                },
                {
                    "vulnerability": "VCID-gsqu-g2y4-a7ap"
                },
                {
                    "vulnerability": "VCID-jm2d-ejbf-qfhz"
                },
                {
                    "vulnerability": "VCID-mv9z-hxmr-skfp"
                },
                {
                    "vulnerability": "VCID-pet2-hhx7-g7fc"
                },
                {
                    "vulnerability": "VCID-th2f-96u1-syhg"
                },
                {
                    "vulnerability": "VCID-xzyq-wm1j-dkcu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/consul@1.0.7~dfsg1-5"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7219.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7219.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7219",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78579",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78475",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78489",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78513",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78529",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78526",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78541",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78341",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78347",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78378",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78362",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78388",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78394",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7842",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78403",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78395",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78424",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78423",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78418",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.78452",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.01138",
                    "scoring_system": "epss",
                    "scoring_elements": "0.7846",
                    "published_at": "2026-04-26T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7219"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7219",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7219"
        },
        {
            "reference_url": "https://github.com/hashicorp/consul/issues/7159",
            "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/issues/7159"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7219",
            "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-7219"
        },
        {
            "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://bugzilla.redhat.com/show_bug.cgi?id=1805866",
            "reference_id": "1805866",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1805866"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950736",
            "reference_id": "950736",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950736"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 400,
            "name": "Uncontrolled Resource Consumption",
            "description": "The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources."
        },
        {
            "cwe_id": 770,
            "name": "Allocation of Resources Without Limits or Throttling",
            "description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."
        }
    ],
    "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-gkgb-5g8x-7fgf"
}