Knot Resolver 6.0.9 before 6.5.1 contains a loop with unreachable exit condition in validate_keyset() in lib/layer/validate.c, where the loop that classifies a failed DNSKEY validation for extended DNS errors iterates over the zone cut's DNSKEY RRset with an 8-bit counter although the record count is 16-bit. Remote attackers who control the authoritative server of a signed delegation and can cause the resolver to look up a name in it can return more than 255 DNSKEY records with a bogus signature, so that the counter wraps and the loop walks past the end of the RRset, crashing or hanging the kresd worker.
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub