CVE-2020-8277
Uncontrolled Resource Consumption in node
Reported by hackerone · Published November 19, 2020
A Node.js application that allows an attacker to trigger a DNS request for a host of their choice could trigger a Denial of Service in versions < 15.2.1, < 14.15.1, and < 12.19.1 by getting the application to resolve a DNS record with a larger number of responses. This is fixed in 15.2.1, 14.15.1, and 12.19.1.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| c-ares | conan.io | 1.16.0 |
| node | dhi.docker.com | 15.2.1, 14.15.1, 12.19.1 |
| node-min | Bitnami | 15.2.1, 14.15.1, 12.19.1 |
| nodejs | Alpine | 14.15.1-r0, 12.20.1-r0 |
| node | Bitnami | 15.2.1, 14.15.1, 12.19.1 |
| c-ares | Arch Linux | 1.17.1-1 |
| nodejs-current | Alpine | 15.3.0-r0 |
| mysql_cluster | oracle | 8.0.23 |
| blockchain_platform | oracle | 21.1.2 |
| alpine/nodejs-20 | alpine | 15.2.1, 14.15.1, 12.19.1 |
| node | DHI | 15.2.1, 14.15.1, 12.19.1 |
| c-ares | c-ares_project | 1.16.0 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NodeJS | Node | 4.0, 5.0, 6.0 |
| ConanCenter | c-ares | 0 |
| alpine | nodejs | 0, 0 |
| arch | c-ares | 0 |
| alpine | nodejs-current | 0 |
| NodeJS | Node | 8.0, 9.0, 11.0 |
| nodejs | node.js |
Timeline
- Nov 19, 2020 CVE Published
- Dec 16, 2020 PoC Published (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (19 in total, the first dated here)
- Aug 28, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (10 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-8277
vulnetix vdb fixes CVE-2020-8277
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8277/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- FEDORA-2020-7473744de1 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-307e873389 vendor-advisoryx_refsource_FEDORA
- GLSA-202012-11 vendor-advisoryx_refsource_GENTOO
- GLSA-202101-07 vendor-advisoryx_refsource_GENTOO
- x_refsource_MISC
- FEDORA-2021-afed2b904e vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-ee913722db vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-8277 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A7WH7W46OZSEUHWBHD7TCH3LRFY52V6Z/ url