[PATCH 1/2] Raise an exception on invalid hex content in unknown records
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 11 Aug 2020 09:25:06 +0000 (11:25 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Mon, 12 Oct 2020 12:42:43 +0000 (13:42 +0100)
commit7471ea21bb1331521ed89e3989834ab1cbe93ef1
treebdac42bb08cedb8c0e9b2b1546b6e44e3afb34ef
parente649574107958046c11f104201abecd033d10e52
[PATCH 1/2] Raise an exception on invalid hex content in unknown records

Otherwise we can end up reading uninitialised memory from the stack,
possibly leaking information.
This is only an issue if the content is read from an untrusted source
and can be passed back to an attacker.

Gbp-Pq: Name CVE-2020-17482.patch
pdns/dnsparser.cc
pdns/test-dnsrecords_cc.cc