Vulnerabilities/CVE-2022-30698, published 1 August 2022

CVE-2022-30698: Nlnetlabs unbound insufficient session expiration vulnerability

Nlnetlabs, Unbound

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.

  • 6.5 CVSS 3.1 Medium
  • EPSS 1.2%, top 31.9%
  • CWE-613, Insufficient session expiration

Description

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%9.8CVE-2019-25032Nlnetlabs unbound integer overflow vulnerabilityUnbound before 1.9.5 allows an integer overflow in the regional allocator via regional_alloc. NOTE: The vendor disputes that this is a vulnerability.…EPSS 2.7%9.8CVE-2019-25033Nlnetlabs unbound integer overflow vulnerabilityUnbound before 1.9.5 allows an integer overflow in the regional allocator via the ALIGN_UP macro. NOTE: The vendor disputes that this is a vulnerabil…EPSS 2.3%9.8CVE-2019-25034Nlnetlabs unbound integer overflow vulnerabilityUnbound before 1.9.5 allows an integer overflow in sldns_str2wire_dname_buf_origin, leading to an out-of-bounds write. NOTE: The vendor disputes that…EPSS 2.7%9.8CVE-2019-25035Nlnetlabs unbound out-of-bounds write vulnerabilityUnbound before 1.9.5 allows an out-of-bounds write in sldns_bget_token_par. NOTE: The vendor disputes that this is a vulnerability. Although the code…EPSS 2.7%9.8CVE-2019-25038Nlnetlabs unbound integer overflow vulnerabilityUnbound before 1.9.5 allows an integer overflow in a size calculation in dnscrypt/dnscrypt.c. NOTE: The vendor disputes that this is a vulnerability.…EPSS 2.6%9.8CVE-2019-25039Nlnetlabs unbound integer overflow vulnerabilityUnbound before 1.9.5 allows an integer overflow in a size calculation in respip/respip.c. NOTE: The vendor disputes that this is a vulnerability. Alt…EPSS 2.7%9.8CVE-2019-25042Nlnetlabs unbound out-of-bounds write vulnerabilityUnbound before 1.9.5 allows an out-of-bounds write via a compressed name in rdata_copy. NOTE: The vendor disputes that this is a vulnerability. Altho…EPSS 2.7%

Source: NIST National Vulnerability Database (record CVE-2022-30698), CISA KEV, FIRST EPSS (scores of 2026-12-05). This page is refreshed as NVD updates the record.