Vulnerability · Published Aug 1, 2022 · Assigned by NLnet Labs
CVE-2022-30699Novel "ghost domain names" attack by updating almost expired delegation information
Medium 6.5
In plain English
A medium-severity security flaw 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.2% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
NLnet Labs Unbound, up to and including version 1.16.1, is vulnerable to a novel type of the "ghost domain names" attack. The vulnerability works by targeting an Unbound instance. Unbound is queried for a rogue domain name when the cached delegation information is about to expire. The rogue nameserver delays the response so that the cached delegation information is expired. Upon receiving the delayed answer containing the delegation information, Unbound overwrites the now expired entries. This action can be repeated when the delegation information is about to expire making the rogue delegation information ever-updating. From version 1.16.2 on, Unbound stores the start time for a query and uses that to decide if the cached delegation information can be overwritten.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3-unbound | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux:9 | python3-unbound | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux:8 | unbound | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux:9 | unbound | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux:8 | unbound-devel | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux:9 | unbound-devel | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux:8 | unbound-libs | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux:9 | unbound-libs | 1.16.2-2.el9 | ALSA-2022:8062 |
| Alpine:v3.20 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30699 |
| Alpine:v3.21 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30699 |
| Alpine:v3.22 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30699 |
| Alpine:v3.23 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30699 |
| Alpine:v3.24 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30699 |
| Debian:12 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30699 |
| Debian:13 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30699 |
| Debian:14 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30699 |
| Rocky Linux:8 | unbound | 0:1.16.2-2.el8 | RLSA-2022:7622 |
| Rocky Linux:9 | unbound | 0:1.16.2-2.el9 | RLSA-2022:8062 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.1 | UBUNTU-CVE-2022-30699 |
| Ubuntu:22.04:LTS | unbound | 1.13.1-1ubuntu5.1 | USN-5569-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | unspecified – through 1.16.1 |
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2022-30698_CVE-2022-30699.txt
- FEDORA-2022-f89beb0640 vendor-advisory
- FEDORA-2022-0a914d5c6b vendor-advisory
- GLSA-202212-02 vendor-advisory
- [debian-lts-announce] 20230329 [SECURITY] [DLA 3371-1] unbound security update mailing-list