Backport of CVE-2020-25829 (any-cache-update) to 4.1.x
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 12 Oct 2020 08:08:08 +0000 (10:08 +0200)
committerDaniel Leidert <dleidert@debian.org>
Mon, 18 Mar 2024 22:34:27 +0000 (23:34 +0100)
commit842227f12341d17db6eaffb64ea9fb2b565a5f0d
treeb999e7489ea64d790ea9a8d2bfefaf19bb45e431
parent351482c9e9651eeb511cb57f21b238408e6fb50a
Backport of CVE-2020-25829 (any-cache-update) to 4.1.x

An issue has been found in PowerDNS Recursor before 4.1.18, 4.2.x before 4.2.5,
and 4.3.x before 4.3.5. A remote attacker can cause the cached records for a
given name to be updated to the Bogus DNSSEC validation state, instead of their
actual DNSSEC Secure state, via a DNS ANY query. This results in a denial of
service for installation that always validate (dnssec=validate), and for
clients requesting validation when on-demand validation is enabled
(dnssec=process).

Origin: https://github.com/PowerDNS/pdns/commit/77409aab0be43071b365760213894d6388c3df30.patch
Bug: https://docs.powerdns.com/recursor/security-advisories/powerdns-advisory-2020-07.html
Bug-Debian: https://bugs.debian.org/972159
Reviewed-by: Daniel Leidert <dleidert@debian.org>
Gbp-Pq: Name CVE-2020-25829.patch
recursor_cache.cc