CVE-2022-30699
Novel "ghost domain names" attack by updating almost expired delegation information
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 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| unbound-devel | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| unbound-utils | Amazon Linux | 1.16.3-2.amzn2023.0.1 |
| unbound | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| python2-unbound | Amazon Linux | 1.7.3-15.amzn2.0.5 |
| unbound | Alpine | 1.16.2-r0 |
| unbound-libs | Amazon Linux | 1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5 |
| 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 |
| Unbound | NLnet Labs | 1.16.1 |
| unbound | nlnetlabs | 1.16.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| NLnet Labs | Unbound | unspecified |
| amazon:2 | unbound-devel | 0 |
| NLnet Labs | Unbound | * |
| amazon:2023 | unbound-utils | 0 |
| amazon:2023 | unbound | 0 |
| amazon:2 | python2-unbound | 0 |
| alpine | unbound | 0 |
| amazon:2023 | unbound-libs | 0 |
| amazon:2023 | python3-unbound | 0 |
| amazon:2 | unbound-libs | 0 |
| amazon:2023 | unbound-devel | 0 |
| amazon:2 | python3-unbound | 0 |
| amazon:2 | unbound | 0 |
| amazon:2023 | unbound-anchor | 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-30699
vulnetix vdb fixes CVE-2022-30699
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-30699/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