CVE-2022-30698: Novel "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.
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 of this vulnerability?
The vulnerability ID of this vulnerability is CVE-2022-30698.
What is the severity of CVE-2022-30698?
The severity of CVE-2022-30698 is medium with a severity value of 6.5.
What software versions are affected by CVE-2022-30698?
NLnet Labs Unbound up to and including version 1.16.1 is affected by CVE-2022-30698.
How does CVE-2022-30698 work?
CVE-2022-30698 works by targeting an Unbound instance and using a novel type of the 'ghost domain names' attack.
How can CVE-2022-30698 be fixed?
To fix CVE-2022-30698, it is recommended to upgrade NLnet Labs Unbound to version 1.16.2 or later.