mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
[master] block validator deadlock and prevent use-after-free
4859. [bug] A loop was possible when attempting to validate unsigned CNAME responses from secure zones; this caused a delay in returning SERVFAIL and also increased the chances of encountering CVE-2017-3145. [RT #46839] 4858. [security] Addresses could be referenced after being freed in resolver.c, causing an assertion failure. (CVE-2017-3145) [RT #46839]
This commit is contained in:
@@ -1100,7 +1100,8 @@ check_deadlock(dns_validator_t *val, dns_name_t *name, dns_rdatatype_t type,
|
||||
|
||||
for (parent = val; parent != NULL; parent = parent->parent) {
|
||||
if (parent->event != NULL &&
|
||||
parent->event->type == type &&
|
||||
(parent->event->type == type ||
|
||||
parent->event->type == dns_rdatatype_cname) &&
|
||||
dns_name_equal(parent->event->name, name) &&
|
||||
/*
|
||||
* As NSEC3 records are meta data you sometimes
|
||||
|
Reference in New Issue
Block a user