Predictable from Observable State in Unbound - CVE-2022-30698

 

Predictable from Observable State in Unbound - CVE-2022-30698

Published: August 16, 2022


Vulnerability identifier: #VU66548
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-30698
CWE-ID: CWE-341
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to poison DNS cache.

The vulnerability exists due to the way Unbound handles delegation information expiration event. A remote attacker who controls a rouge DNS server can force the Unbound instance to cache incorrect information about subdomain delegation and permanently poison the DNS cache, e.g. perform the "ghost domain names" attack. 

The attack is carried out when 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.


Affected software

Unbound
Gentoo Linux
Oracle Linux
Amazon Linux AMI
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Basesystem Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Fedora
cflinuxfs3
Robotic Process Automation for Cloud Pak
Submariner
Red Hat Advanced Cluster Management for Kubernetes
Netcool Operations Insight
IBM Cloud Transformation Advisor
LANTIME Operating System Firmware (LTOS)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
unbound (Ubuntu package)
libunbound2 (Ubuntu package)
unbound (Red Hat package)
libunbound8 (Ubuntu package)
python3-unbound
unbound-devel
unbound-libs
unbound-help
unbound-debuginfo
unbound-debugsource
unbound
net-dns/unbound
unbound-python
libunbound8
unbound-anchor-debuginfo
unbound-anchor
libunbound8-debuginfo
unbound-python-debuginfo
unbound-munin
libunbound-devel-mini-debuginfo
libunbound-devel-mini-debugsource
libunbound-devel-mini
OpenShift Virtualization

How to mitigate CVE-2022-30698

Install updates from vendor's website.

Unbound - update to 1.16.2
cflinuxfs3 - update to 0.315.0
Submariner - update to 0.14.0
Red Hat Advanced Cluster Management for Kubernetes - update to 2.6.4
LANTIME Operating System Firmware (LTOS) - update to 7.08.011
unbound (Ubuntu package) - addressed in versions 1.6.7-1ubuntu2.5, 1.9.4-2ubuntu1.3, 1.13.1-1ubuntu5.1
libunbound2 (Ubuntu package) - update to 1.6.7-1ubuntu2.5
Netcool Operations Insight - update to 1.6.8
unbound (Red Hat package) - addressed in versions 1.7.3-17.el8_6.5, 1.16.2-2.el8, 1.16.2-2.el9
libunbound8 (Ubuntu package) - addressed in versions 1.9.4-2ubuntu1.3, 1.13.1-1ubuntu5.1
python3-unbound - update to 1.11.0-7
unbound-devel - update to 1.11.0-7
unbound-libs - update to 1.11.0-7
unbound-help - update to 1.11.0-7
unbound-debuginfo - update to 1.11.0-7
unbound-debugsource - update to 1.11.0-7
unbound - update to 1.11.0-7
unbound - addressed in versions 1.16.2-2.fc35, 1.16.2-2.fc36, 1.16.2-3.fc35, 1.16.2-3.fc36
net-dns/unbound - update to 1.16.3
unbound - update to 1.16.3-2
unbound-python - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
libunbound8 - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-devel - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-debugsource - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-debuginfo - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-anchor-debuginfo - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-anchor - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
libunbound8-debuginfo - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-python-debuginfo - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
unbound-munin - addressed in versions 1.20.0-150100.10.13.1, 1.20.0-150600.23.3.1
libunbound-devel-mini-debuginfo - update to 1.20.0-150600.23.3.1
libunbound-devel-mini-debugsource - update to 1.20.0-150600.23.3.1
libunbound-devel-mini - update to 1.20.0-150600.23.3.1
IBM Cloud Transformation Advisor - update to 3.4.0
OpenShift Virtualization - addressed in versions 4.11.1, 4.12.0
Robotic Process Automation for Cloud Pak - update to 21.0.6

External References

Related Security Bulletins