CVE-2022-30698
Novel "ghost domain names" attack by introducing subdomain delegations
Reported by nlnet labs · Published August 1, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-unbound | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| unbound-anchor | Amazon Linux | 1.16.3-2.amzn2023.0.1 |
| python2-unbound | Amazon Linux | 1.7.3-15.amzn2.0.5 |
| unbound-utils | Amazon Linux | 1.16.3-2.amzn2023.0.1 |
| unbound-libs | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| unbound | Alpine | 1.16.2-r0 |
| unbound | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| unbound-devel | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| unbound | nlnetlabs | 1.16.2 |
| Unbound | NLnet Labs | 1.16.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | unspecified |
| amazon:2023 | python3-unbound | 0 |
| amazon:2023 | unbound-anchor | 0 |
| amazon:2 | python2-unbound | 0 |
| amazon:2023 | unbound-utils | 0 |
| amazon:2 | python3-unbound | 0 |
| amazon:2 | unbound-libs | 0 |
| alpine | unbound | 0 |
| amazon:2023 | unbound | 0 |
| amazon:2023 | unbound-devel | 0 |
| amazon:2 | unbound-devel | 0 |
| NLnet Labs | Unbound | * |
| amazon:2 | unbound | 0 |
| amazon:2023 | unbound-libs | 0 |
Timeline
- Aug 1, 2022 CVE Published
- Aug 2, 2022 EPSS Score (30 in total, the first dated here)
- Sep 16, 2024 CVE Updated
- Mar 10, 2026 Security Advisory (28 in total, the first dated here)
- Jun 25, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (26 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-30698
vulnetix vdb fixes CVE-2022-30698
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-30698/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2022-f89beb0640 vendor-advisory
- FEDORA-2022-0a914d5c6b vendor-advisory
- GLSA-202212-02 vendor-advisory
- [debian-lts-announce] 20230329 [SECURITY] [DLA 3371-1] unbound security update mailing-list