Vulnerability · Published Sep 26, 2022 · Assigned by NLnet Labs
CVE-2022-3204NRDelegation Attack
High 7.5
In plain English
A high-severity uncontrolled resource consumption in Unbound from NLnet Labs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability named 'Non-Responsive Delegation Attack' (NRDelegation Attack) has been discovered in various DNS resolving software. The NRDelegation Attack works by having a malicious delegation with a considerable number of non responsive nameservers. The attack starts by querying a resolver for a record that relies on those unresponsive nameservers. The attack can cause a resolver to spend a lot of time/resources resolving records under a malicious delegation point where a considerable number of unresponsive NS records reside. It can trigger high CPU usage in some resolver implementations that continually look in the cache for resolved NS records in that delegation. This can lead to degraded performance and eventually denial of service in orchestrated attacks. Unbound does not suffer from high CPU usage, but resources are still needed for resolving the malicious delegation. Unbound will keep trying to resolve the record until hard limits are reached. Based on the nature of the attack and the replies, different limits could be reached. From version 1.16.3 on, Unbound introduces fixes for better performance when under load, by cutting opportunistic queries for nameserver discovery and DNSKEY prefetching and limiting the number of times a delegation point can issue a cache lookup for missing records.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-unbound | 1.16.2-5.el8 | ALSA-2023:2771 |
| AlmaLinux:9 | python3-unbound | 1.16.2-3.el9 | ALSA-2023:2370 |
| AlmaLinux:8 | unbound | 1.16.2-5.el8 | ALSA-2023:2771 |
| AlmaLinux:9 | unbound | 1.16.2-3.el9 | ALSA-2023:2370 |
| AlmaLinux:8 | unbound-devel | 1.16.2-5.el8 | ALSA-2023:2771 |
| AlmaLinux:9 | unbound-devel | 1.16.2-3.el9 | ALSA-2023:2370 |
| AlmaLinux:8 | unbound-libs | 1.16.2-5.el8 | ALSA-2023:2771 |
| AlmaLinux:9 | unbound-libs | 1.16.2-3.el9 | ALSA-2023:2370 |
| Alpine:v3.20 | unbound | 1.16.3-r0 | ALPINE-CVE-2022-3204 |
| Alpine:v3.21 | unbound | 1.16.3-r0 | ALPINE-CVE-2022-3204 |
| Alpine:v3.22 | unbound | 1.16.3-r0 | ALPINE-CVE-2022-3204 |
| Alpine:v3.23 | unbound | 1.16.3-r0 | ALPINE-CVE-2022-3204 |
| Alpine:v3.24 | unbound | 1.16.3-r0 | ALPINE-CVE-2022-3204 |
| Debian:12 | unbound | 1.16.3-1 | DEBIAN-CVE-2022-3204 |
| Debian:13 | unbound | 1.16.3-1 | DEBIAN-CVE-2022-3204 |
| Debian:14 | unbound | 1.16.3-1 | DEBIAN-CVE-2022-3204 |
| Rocky Linux:8 | unbound | 0:1.16.2-5.12.el8_10 | RLSA-2023:2771 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.3 | UBUNTU-CVE-2022-3204 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.3 | USN-5732-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | unspecified – through 1.16.2 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2022-3204.txt
- FEDORA-2022-1326d2815c vendor-advisory
- FEDORA-2022-164cf7837e vendor-advisory
- FEDORA-2022-204ee3da84 vendor-advisory
- GLSA-202212-02 vendor-advisory
- [debian-lts-announce] 20230329 [SECURITY] [DLA 3371-1] unbound security update mailing-list