CVE-2022-30698Novel "ghost domain names" attack by introducing subdomain delegations
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | unbound | Fixed | 1.13.1-1ubuntu5.1 | UBUNTU-CVE-2022-30698 |
| Ubuntu 20.04 | unbound | Fixed | 1.9.4-2ubuntu1.3 | UBUNTU-CVE-2022-30698 |
| Ubuntu 18.04 | unbound | Fixed | 1.6.7-1ubuntu2.5 | UBUNTU-CVE-2022-30698 |
| Ubuntu 16.04 | unbound | Fix pending | UBUNTU-CVE-2022-30698 | |
| Ubuntu 14.04 | unbound | Fix pending | UBUNTU-CVE-2022-30698 | |
| Debian 14 | unbound | Fixed | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| Debian 13 | unbound | Fixed | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| Debian 12 | unbound | Fixed | 1.16.2-1 | DEBIAN-CVE-2022-30698 |
| Red Hat Enterprise Linux 9 | python3-unbound | Fixed | 0:1.16.2-2.el9 | RHSA-2022:8062 |
| Red Hat Enterprise Linux 9 | unbound | Fixed | 0:1.16.2-2.el9 | RHSA-2022:8062 |
| Red Hat Enterprise Linux 9 | unbound-devel | Fixed | 0:1.16.2-2.el9 | RHSA-2022:8062 |
| Red Hat Enterprise Linux 9 | unbound-libs | Fixed | 0:1.16.2-2.el9 | RHSA-2022:8062 |
| Red Hat Enterprise Linux 8 | python3-unbound | Fixed | 0:1.16.2-2.el8 | RHSA-2022:7622 |
| Red Hat Enterprise Linux 8 | unbound | Fixed | 0:1.16.2-2.el8 | RHSA-2022:7622 |
| Red Hat Enterprise Linux 8 | unbound-devel | Fixed | 0:1.16.2-2.el8 | RHSA-2022:7622 |
| Red Hat Enterprise Linux 8 | unbound-libs | Fixed | 0:1.16.2-2.el8 | RHSA-2022:7622 |
| Red Hat Enterprise Linux 7 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | unbound-python | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | unbound-python | Will not fix Out of support scope | ||
| AlmaLinux 9 | python3-unbound | Fixed | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux 9 | unbound | Fixed | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux 9 | unbound-devel | Fixed | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux 9 | unbound-libs | Fixed | 1.16.2-2.el9 | ALSA-2022:8062 |
| AlmaLinux 8 | python3-unbound | Fixed | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux 8 | unbound | Fixed | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux 8 | unbound-devel | Fixed | 1.16.2-2.el8 | ALSA-2022:7622 |
| AlmaLinux 8 | unbound-libs | Fixed | 1.16.2-2.el8 | ALSA-2022:7622 |
| Rocky Linux 9 | unbound | Fixed | 0:1.16.2-2.el9 | RLSA-2022:8062 |
| Rocky Linux 8 | unbound | Fixed | 0:1.16.2-2.el8 | RLSA-2022:7622 |
| Alpine Linux 3.24 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.23 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.22 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.21 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.20 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.19 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.18 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
| Alpine Linux 3.17 | unbound | Fixed | 1.16.2-r0 | ALPINE-CVE-2022-30698 |
What the vendor says
As published in the CVE record by NLnet Labs, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NLnet Labs Unbound: affected: unspecified to 1.16.1
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202212-02 (vendor-advisory)
References
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2022-30698_CVE-2022-30699.txt
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5L3ZFWZZFPBIL654BG75RWXUMPFQJ5EC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D35CX4SCZVNKZTWJXPDFTHWZHINMGEZD/
- https://security.gentoo.org/glsa/202212-02
- https://lists.debian.org/debian-lts-announce/2023/03/msg00024.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.