CVE-2022-30699: Novel "ghost domain names" attack by updating almost expired delegation information
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/unboundto a version that resolves this vulnerability.Fixed in 1.16.2 - Upgrade
Upgrade
alpine/unboundto a version that resolves this vulnerability.Fixed in 1.16.2-r0 - Upgrade
Upgrade
debian/unboundto a version that resolves this vulnerability.Fixed in 1.16.2-1 - Upgrade
Upgrade
debian/unboundto a version that resolves this vulnerability.Fixed in 1.9.0-2+deb10u3Fixed in 1.13.1-1+deb11u1Fixed in 1.16.2-1 - Upgrade
Upgrade
Unboundto a version that resolves this vulnerability.Fixed in 1.16.2
Event History
Frequently Asked Questions
What is the vulnerability ID?
The vulnerability ID is CVE-2022-30699.
What is the severity of CVE-2022-30699?
The severity of CVE-2022-30699 is medium (6.5).
What software is affected by CVE-2022-30699?
NLnet Labs Unbound up to and including version 1.16.1 is affected by CVE-2022-30699.
How does CVE-2022-30699 work?
CVE-2022-30699 works by targeting an Unbound instance and exploiting a vulnerability related to cached delegation information.
Are there any references for CVE-2022-30699?
Yes, you can find references for CVE-2022-30699 at the following links: [Reference 1](https://lists.debian.org/debian-lts-announce/2023/03/msg00024.html), [Reference 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5L3ZFWZZFPBIL654BG75RWXUMPFQJ5EC/), [Reference 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D35CX4SCZVNKZTWJXPDFTHWZHINMGEZD/).