Bug 2129735 (CVE-2022-40188)

Summary: CVE-2022-40188 knot-resolver: CPU-expensive DoS by malicious domains
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dns-sig, jakub.ruzicka, jv+fedora, nicki, pspacek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: knot-resolver 5.5.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-28 02:27:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2129736, 2129737    
Bug Blocks:    

Description TEJ RATHI 2022-09-26 08:24:47 UTC
Knot Resolver before 5.5.3 allows remote attackers to cause a denial of service (CPU consumption) because of algorithmic complexity. During an attack, an authoritative server must return large NS sets or address sets.

https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1343#note_262558
https://www.knot-resolver.cz/2022-09-21-knot-resolver-5.5.3.html

Comment 1 TEJ RATHI 2022-09-26 08:25:13 UTC
Created knot-resolver tracking bugs for this issue:

Affects: epel-all [bug 2129737]
Affects: fedora-all [bug 2129736]

Comment 2 Jakub Ruzicka 2022-10-03 05:56:34 UTC
5.5.3 packages with fix for this issue already hit stable f35, f36, f37, el7, el8, el9, and rawhide:

https://bodhi.fedoraproject.org/updates/?search=knot-resolver-5.5.3

Comment 3 Product Security DevOps Team 2022-11-28 02:27:14 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.