Improper Input Validation Affecting dnsdist package, versions <1.2.0-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.25% (66th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-DNSDIST-530670
  • published27 Jun 2018
  • disclosed11 Sept 2018

Introduced: 27 Jun 2018

CVE-2016-7069  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:11 dnsdist to version 1.2.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dnsdist package and not the dnsdist package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

An issue has been found in dnsdist before 1.2.0 in the way EDNS0 OPT records are handled when parsing responses from a backend. When dnsdist is configured to add EDNS Client Subnet to a query, the response may contain an EDNS0 OPT record that has to be removed before forwarding the response to the initial client. On a 32-bit system, the pointer arithmetic used when parsing the received response to remove that record might trigger an undefined behavior leading to a crash.