{"id":"UBUNTU-CVE-2022-40188","details":"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.","modified":"2026-01-30T00:54:29.244095Z","published":"2022-09-23T16:15:00Z","related":["USN-6225-1"],"upstream":["CVE-2022-40188"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-40188"},{"type":"REPORT","url":"https://github.com/CZ-NIC/knot-resolver/commit/f6577a20e493c7fbdac124d7544bf1846b084185"},{"type":"REPORT","url":"https://www.knot-resolver.cz/2022-09-21-knot-resolver-5.5.3.html"},{"type":"REPORT","url":"https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1343#note_262558"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6225-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-40188"}],"affected":[{"package":{"name":"knot-resolver","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/knot-resolver@1.0.0~beta3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.0~beta3-1ubuntu0.1~esm1"}]}],"versions":["1.0.0~beta2-123-g6134920-1","1.0.0~beta3-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0.0~beta3-1ubuntu0.1~esm1","binary_name":"knot-resolver"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40188.json"}},{"package":{"name":"knot-resolver","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/knot-resolver@2.1.1-1ubuntu0.1~esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1ubuntu0.1~esm2"}]}],"versions":["1.3.3-1","1.5.0-4","1.5.1-1","1.5.2-1","2.0.0-3","2.1.0-1","2.1.0-2","2.1.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.1-1ubuntu0.1~esm2","binary_name":"knot-resolver"},{"binary_version":"2.1.1-1ubuntu0.1~esm2","binary_name":"knot-resolver-module-http"},{"binary_version":"2.1.1-1ubuntu0.1~esm2","binary_name":"libkres-dev"},{"binary_version":"2.1.1-1ubuntu0.1~esm2","binary_name":"libkres6"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40188.json"}},{"package":{"name":"knot-resolver","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/knot-resolver@3.2.1-3ubuntu2.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-3ubuntu2.1"}]}],"versions":["3.2.1-3","3.2.1-3ubuntu1","3.2.1-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2.1-3ubuntu2.1","binary_name":"knot-resolver"},{"binary_version":"3.2.1-3ubuntu2.1","binary_name":"knot-resolver-module-http"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40188.json"}},{"package":{"name":"knot-resolver","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/knot-resolver@5.4.4-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.4-1ubuntu0.1~esm1"}]}],"versions":["5.3.1-1","5.4.2-1","5.4.3-1","5.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.4.4-1ubuntu0.1~esm1","binary_name":"knot-resolver"},{"binary_version":"5.4.4-1ubuntu0.1~esm1","binary_name":"knot-resolver-module-http"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40188.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}