CVEfocus › CVE database › CVE-2022-30698

CVE-2022-30698Novel "ghost domain names" attack by introducing subdomain delegations

EPSS 1.2% (higher than 68% of CVEs)Published 2022-08-01Updated 2024-09-16Assigner: NLnet Labs

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

32Fixed
2Fix pending
8Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04unboundFixed1.13.1-1ubuntu5.1UBUNTU-CVE-2022-30698
Ubuntu 20.04unboundFixed1.9.4-2ubuntu1.3UBUNTU-CVE-2022-30698
Ubuntu 18.04unboundFixed1.6.7-1ubuntu2.5UBUNTU-CVE-2022-30698
Ubuntu 16.04unboundFix pendingUBUNTU-CVE-2022-30698
Ubuntu 14.04unboundFix pendingUBUNTU-CVE-2022-30698
Debian 14unboundFixed1.16.2-1DEBIAN-CVE-2022-30698
Debian 13unboundFixed1.16.2-1DEBIAN-CVE-2022-30698
Debian 12unboundFixed1.16.2-1DEBIAN-CVE-2022-30698
Red Hat Enterprise Linux 9python3-unboundFixed0:1.16.2-2.el9RHSA-2022:8062
Red Hat Enterprise Linux 9unboundFixed0:1.16.2-2.el9RHSA-2022:8062
Red Hat Enterprise Linux 9unbound-develFixed0:1.16.2-2.el9RHSA-2022:8062
Red Hat Enterprise Linux 9unbound-libsFixed0:1.16.2-2.el9RHSA-2022:8062
Red Hat Enterprise Linux 8python3-unboundFixed0:1.16.2-2.el8RHSA-2022:7622
Red Hat Enterprise Linux 8unboundFixed0:1.16.2-2.el8RHSA-2022:7622
Red Hat Enterprise Linux 8unbound-develFixed0:1.16.2-2.el8RHSA-2022:7622
Red Hat Enterprise Linux 8unbound-libsFixed0:1.16.2-2.el8RHSA-2022:7622
Red Hat Enterprise Linux 7unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7unbound-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 6unboundWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6unbound-pythonWill not fix
Out of support scope
AlmaLinux 9python3-unboundFixed1.16.2-2.el9ALSA-2022:8062
AlmaLinux 9unboundFixed1.16.2-2.el9ALSA-2022:8062
AlmaLinux 9unbound-develFixed1.16.2-2.el9ALSA-2022:8062
AlmaLinux 9unbound-libsFixed1.16.2-2.el9ALSA-2022:8062
AlmaLinux 8python3-unboundFixed1.16.2-2.el8ALSA-2022:7622
AlmaLinux 8unboundFixed1.16.2-2.el8ALSA-2022:7622
AlmaLinux 8unbound-develFixed1.16.2-2.el8ALSA-2022:7622
AlmaLinux 8unbound-libsFixed1.16.2-2.el8ALSA-2022:7622
Rocky Linux 9unboundFixed0:1.16.2-2.el9RLSA-2022:8062
Rocky Linux 8unboundFixed0:1.16.2-2.el8RLSA-2022:7622
Alpine Linux 3.24unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.23unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.22unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.21unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.20unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.19unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.18unboundFixed1.16.2-r0ALPINE-CVE-2022-30698
Alpine Linux 3.17unboundFixed1.16.2-r0ALPINE-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.

Vendor advisories:

References

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.