CVEfocus › CVE database › CVE-2022-30699

CVE-2022-30699Novel "ghost domain names" attack by updating almost expired delegation information

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 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.

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-30699
Ubuntu 20.04unboundFixed1.9.4-2ubuntu1.3UBUNTU-CVE-2022-30699
Ubuntu 18.04unboundFixed1.6.7-1ubuntu2.5UBUNTU-CVE-2022-30699
Ubuntu 16.04unboundFix pendingUBUNTU-CVE-2022-30699
Ubuntu 14.04unboundFix pendingUBUNTU-CVE-2022-30699
Debian 14unboundFixed1.16.2-1DEBIAN-CVE-2022-30699
Debian 13unboundFixed1.16.2-1DEBIAN-CVE-2022-30699
Debian 12unboundFixed1.16.2-1DEBIAN-CVE-2022-30699
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-30699
Alpine Linux 3.23unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.22unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.21unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.20unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.19unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.18unboundFixed1.16.2-r0ALPINE-CVE-2022-30699
Alpine Linux 3.17unboundFixed1.16.2-r0ALPINE-CVE-2022-30699

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.