CVE-2020-12662: Unbound before 1.10.1 has Insufficient Control of Network Message Volume, aka an "NXNSAttack" issue.
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.1% (FIRST EPSS); higher than 88.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: unbound (Alpine:v3.10) 1.9.1-r8; unbound (Alpine:v3.11) 1.9.6-r1; unbound (Alpine:v3.12) 1.10.1-r0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to unbound (Alpine:v3.10) 1.9.1-r8; unbound (Alpine:v3.11) 1.9.6-r1; unbound (Alpine:v3.12) 1.10.1-r0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
Unbound before 1.10.1 has Insufficient Control of Network Message Volume, aka an "NXNSAttack" issue. This is triggered by random subdomains in the NSDNAME in NS records.
- Published
- May 19, 2020
- Updated
- Jun 16, 2026
- EPSS
- 3.1% · 88th percentile
- CWE
- CWE-400
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.1%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nlnetlabs | unbound | cpe:2.3:a:nlnetlabs:unbound |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux18.04
- canonical ubuntu linux19.10
- canonical ubuntu linux20.04
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora31
- fedoraproject fedora32
- nlnetlabs unboundbefore 1.10.1
- opensuse leap15.1
- opensuse leap15.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | unbound | before 1.9.1-r8 | 1.9.1-r8 |
| Alpine:v3.11 | unbound | before 1.9.6-r1 | 1.9.6-r1 |
| Alpine:v3.12 | unbound | before 1.10.1-r0 | 1.10.1-r0 |
| Alpine:v3.9 | unbound | before 1.8.3-r4 | 1.8.3-r4 |
| Debian:10 | unbound | before 1.9.0-2+deb10u2 | 1.9.0-2+deb10u2 |
| Debian:12 | unbound | before 1.10.1-1 | 1.10.1-1 |
| Debian:9 | unbound1.9 | before 1.9.0-2+deb10u2~deb9u1 | 1.9.0-2+deb10u2~deb9u1 |
| openSUSE:Leap 15.1 | libunbound-devel-mini | before 1.6.8-lp151.8.3.1 | 1.6.8-lp151.8.3.1 |
| openSUSE:Leap 15.1 | unbound | before 1.6.8-lp151.8.3.1 | 1.6.8-lp151.8.3.1 |
| openSUSE:Leap 15.2 | libunbound-devel-mini | before 1.6.8-lp152.9.3.1 | 1.6.8-lp152.9.3.1 |
| openSUSE:Leap 15.2 | unbound | before 1.6.8-lp152.9.3.1 | 1.6.8-lp152.9.3.1 |
| openSUSE:Tumbleweed | unbound | before 1.13.2-1.2 | 1.13.2-1.2 |
| Red Hat:enterprise_linux:6::client | unbound | before 0:1.4.20-29.el6_10.1 | 0:1.4.20-29.el6_10.1 |
| Red Hat:enterprise_linux:6::client | unbound-debuginfo | before 0:1.4.20-29.el6_10.1 | 0:1.4.20-29.el6_10.1 |
| Red Hat:enterprise_linux:6::client | unbound-devel | before 0:1.4.20-29.el6_10.1 | 0:1.4.20-29.el6_10.1 |
| Red Hat:enterprise_linux:6::client | unbound-libs | before 0:1.4.20-29.el6_10.1 | 0:1.4.20-29.el6_10.1 |
| Red Hat:enterprise_linux:6::client | unbound-python | before 0:1.4.20-29.el6_10.1 | 0:1.4.20-29.el6_10.1 |
| Red Hat:enterprise_linux:7::client | unbound | before 0:1.6.6-4.el7_8 | 0:1.6.6-4.el7_8 |
| Red Hat:enterprise_linux:7::client | unbound-debuginfo | before 0:1.6.6-4.el7_8 | 0:1.6.6-4.el7_8 |
| Red Hat:enterprise_linux:7::client | unbound-devel | before 0:1.6.6-4.el7_8 | 0:1.6.6-4.el7_8 |
| Red Hat:enterprise_linux:7::client | unbound-libs | before 0:1.6.6-4.el7_8 | 0:1.6.6-4.el7_8 |
| Red Hat:enterprise_linux:7::client | unbound-python | before 0:1.6.6-4.el7_8 | 0:1.6.6-4.el7_8 |
| Red Hat:enterprise_linux:8::appstream | python3-unbound | before 0:1.7.3-11.el8_2 | 0:1.7.3-11.el8_2 |
| Red Hat:enterprise_linux:8::appstream | python3-unbound-debuginfo | before 0:1.7.3-11.el8_2 | 0:1.7.3-11.el8_2 |
+29
Same product
nlnetlabs: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-25042Unbound before 1.9.5 allows an out-of-bounds write via a compressed name in rdata_copy.40Plan
- CVE-2019-25039Unbound before 1.9.5 allows an integer overflow in a size calculation in respip/respip.c.40Plan
- CVE-2019-25038Unbound before 1.9.5 allows an integer overflow in a size calculation in dnscrypt/dnscrypt.c.40Plan
Published before and after this one in the same product
- ← EarlierCVE-2019-16866Oct 3, 2019 · Unbound before 1.9.4 accesses uninitialized memory, which allows remote attackers to trigger a crash via a crafted NOTIFY query.31Monitor
- ← EarlierCVE-2019-18934Nov 19, 2019 · Unbound 1.6.4 through 1.9.4 contain a vulnerability in the ipsec module that can cause shell code execution after receiving a specially…30Monitor
- Later →CVE-2020-12663May 19, 2020 · Unbound before 1.10.1 has an infinite loop via malformed DNS answers received from upstream servers.31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:unbound | 1.9.1-r8 · Alpine:v3.10 | Package registry (OSV) |
| debian:unbound | 1.10.1-1 · Debian:12 | Package registry (OSV) |
| debian:unbound1.9 | 1.9.0-2+deb10u2~deb9u1 · Debian:9 | Package registry (OSV) |
| opensuse:libunbound-devel-mini | 1.6.8-lp151.8.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:unbound | 1.6.8-lp151.8.3.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:python3-unbound | 0:1.7.3-11.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:python3-unbound-debuginfo | 0:1.7.3-11.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:unbound | 0:1.6.6-4.el7_8 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:unbound-debuginfo | 0:1.6.6-4.el7_8 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:unbound-debugsource | 0:1.7.3-11.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:unbound-devel | 0:1.6.6-4.el7_8 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:unbound-libs | 0:1.6.6-4.el7_8 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:unbound-libs-debuginfo | 0:1.7.3-11.el8_2 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:unbound-python | 0:1.6.6-4.el7_8 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:unbound | 1.6.8-10.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-20-517 · Jul 13, 2020(FreeBSD Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- lists.opensuse.org/opensuse-security-announce/2020-06/msg00069.html
- www.nxnsattack.com
- www.openwall.com/lists/oss-security/2020/05/19/5
- lists.debian.org/debian-lts-announce/2021/02/msg00017.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F5NFROI2OMCZLYRTCNGHGO3TUD32LCIQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YJ42N2HBZ3DXMSEC56SWIIOFQGOS5M7I/
- nlnetlabs.nl/downloads/unbound/CVE-2020-12662_2020-12663.txt
- security.FreeBSD.org/advisories/FreeBSD-SA-20:19.unbound.asc
- security.netapp.com/advisory/ntap-20200702-0006/
- usn.ubuntu.com/4374-1/
- www.debian.org/security/2020/dsa-4694
- www.synology.com/security/advisory/Synology_SA_20_12
Vendor advisories and official records. Exploit/PoC links are deliberately left out.