Input validation error in Unbound - CVE-2020-12662

 

Input validation error in Unbound - CVE-2020-12662

Published: May 21, 2020


Vulnerability identifier: #VU28161
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12662
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing DNS responses. A remote attacker who controls a malicious DNS server can send a specially crafted response and perform a denial of service (DoS) attack against third-party DNS servers.

The attack is triggered by random subdomains in the NSDNAME in NS records.


Affected software

Unbound
Arch Linux
Amazon Linux AMI
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
FreeBSD
Opensuse
openEuler
Fedora
unbound (Alpine package)
unbound (Red Hat package)
unbound (Ubuntu package)
unbound (Debian package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
unbound-libs
unbound-help
unbound-devel
unbound-debugsource
unbound
python3-unbound
unbound-debuginfo

How to mitigate CVE-2020-12662

Install updates from vendor's website.

Unbound - update to 1.10.1
unbound (Alpine package) - update to 1.8.3-r4
unbound (Red Hat package) - addressed in versions 1.4.20-29.el6_10.1, 1.6.6-2.el7_7, 1.6.6-4.el7_8, 1.7.3-9.el8_0, 1.7.3-9.el8_1, 1.7.3-11.el8_2
unbound (Ubuntu package) - addressed in versions 1.6.7-1ubuntu2.3, 1.9.0-2ubuntu1.1, 1.9.4-2ubuntu1.1
unbound (Debian package) - update to 1.9.0-2+deb10u2
unbound-libs - update to 1.7.3-15
unbound-help - update to 1.7.3-15
unbound-devel - update to 1.7.3-15
unbound-debugsource - update to 1.7.3-15
unbound - update to 1.7.3-15
python3-unbound - update to 1.7.3-15
unbound-debuginfo - update to 1.7.3-15
unbound - addressed in versions 1.10.1-1.fc31, 1.10.1-1.fc32

External References

Related Security Bulletins