Vulnerability · Published Aug 1, 2022 · Assigned by NLnet Labs
CVE-2022-30698Novel "ghost domain names" attack by introducing subdomain delegations
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 subdomain of a rogue domain name. The rogue nameserver returns delegation information for the subdomain that updates Unbound's delegation cache. This action can be repeated before expiry of the delegation information by querying Unbound for a second level subdomain which the rogue nameserver provides new delegation information. Since Unbound is a child-centric resolver, the ever-updating child delegation information can keep a rogue domain name resolvable long after revocation. From version 1.16.2 on, Unbound checks the validity of parent delegation records before using cached delegation information.
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-30698 |
| Alpine:v3.21 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine:v3.22 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine:v3.23 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine:v3.24 | unbound | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Debian:12 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| Debian:13 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| Debian:14 | unbound | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| 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-30698 |
| 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