Out-of-bounds Read Affecting pdns-recursor package, versions <4.1.16-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.58% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE310-PDNSRECURSOR-597873
  • published21 Jul 2020
  • disclosed19 May 2020

Introduced: 19 May 2020

CVE-2020-10030  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Alpine:3.10 pdns-recursor to version 4.1.16-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pdns-recursor package and not the pdns-recursor package as distributed by Alpine. See How to fix? for Alpine:3.10 relevant fixed versions and status.

An issue has been found in PowerDNS Recursor 4.1.0 up to and including 4.3.0. It allows an attacker (with enough privileges to change the system's hostname) to cause disclosure of uninitialized memory content via a stack-based out-of-bounds read. It only occurs on systems where gethostname() does not have '\0' termination of the returned string if the hostname is larger than the supplied buffer. (Linux systems are not affected because the buffer is always large enough. OpenBSD systems are not affected because the returned hostname always has '\0' termination.) Under some conditions, this issue can lead to the writing of one '\0' byte out-of-bounds on the stack, causing a denial of service or possibly arbitrary code execution.

CVSS Scores

version 3.1