VDB

CVE-2022-30699

CVE-2022-30699 PUBLISHED

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.

PackageEcosystemFixed in
unbound-develAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
unbound-utilsAmazon Linux1.16.3-2.amzn2023.0.1
unboundAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
python2-unboundAmazon Linux1.7.3-15.amzn2.0.5
unboundAlpine1.16.2-r0
unbound-libsAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
python3-unboundAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
unbound-anchorAmazon Linux1.16.3-2.amzn2023.0.1
UnboundNLnet Labs1.16.1
unboundnlnetlabs1.16.2

Affected products

VendorProductVersions
NLnet LabsUnboundunspecified
amazon:2unbound-devel0
NLnet LabsUnbound*
amazon:2023unbound-utils0
amazon:2023unbound0
amazon:2python2-unbound0
alpineunbound0
amazon:2023unbound-libs0
amazon:2023python3-unbound0
amazon:2unbound-libs0
amazon:2023unbound-devel0
amazon:2python3-unbound0
amazon:2unbound0
amazon:2023unbound-anchor0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›