VDB

CVE-2022-30698

CVE-2022-30698 PUBLISHED

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.

PackageEcosystemFixed in
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
python2-unboundAmazon Linux1.7.3-15.amzn2.0.5
unbound-utilsAmazon Linux1.16.3-2.amzn2023.0.1
unbound-libsAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
unboundAlpine1.16.2-r0
unboundAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
unbound-develAmazon Linux1.16.3-2.amzn2023.0.1, 1.7.3-15.amzn2.0.5
unboundnlnetlabs1.16.2
UnboundNLnet Labs1.16.1

Affected products

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

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

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