Input validation error in PowerDNS Recursor - CVE-2020-12244

 

Input validation error in PowerDNS Recursor - CVE-2020-12244

Published: May 20, 2020


Vulnerability identifier: #VU28142
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12244
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 spoofing attack.

The vulnerability exists due to records in the answer section of a NXDOMAIN response lacking an SOA are not properly validated in SyncRes::processAnswer. A remote attacker with ability to perform a Man-in-the-Middle (MitM) attack can send a NXDOMAIN answer for a name that does exist and bypass DNSSEC validation.

Successful exploitation of the vulnerability may allow an attacker to perform a spoofing attack.


Affected software

PowerDNS Recursor
Arch Linux
Fedora
SUSE Linux
Opensuse
pdns-recursor (Debian package)
pdns-recursor (Alpine package)
pdns-recursor
SUSE Package Hub for SUSE Linux Enterprise

How to mitigate CVE-2020-12244

Install updates from vendor's website.

PowerDNS Recursor - addressed in versions 4.1.16, 4.2.2, 4.3.1
pdns-recursor (Debian package) - update to 4.1.11-1+deb10u1
pdns-recursor (Alpine package) - update to 4.1.16-r0
pdns-recursor - addressed in versions 4.1.16-1.el7, 4.2.2-1.el8, 4.2.2-1.fc31, 4.3.1-1.fc32

External References

Related Security Bulletins