Out-of-bounds write in Unbound - CVE-2019-25042
Published: May 10, 2021
Vulnerability identifier: #VU53028
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-25042
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input within the rdata_copy() function. A remote attacker can send specially crafted data to the DNS server, trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Unbound
cflinuxfs3
unbound (Red Hat package)
unbound (Ubuntu package)
libunbound2 (Ubuntu package)
unbound-devel
unbound-debugsource
unbound-debuginfo
unbound-anchor-debuginfo
unbound-anchor
libunbound2-debuginfo
libunbound2
libunbound8 (Ubuntu package)
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
Ubuntu
OpenShift Virtualization
cflinuxfs3
unbound (Red Hat package)
unbound (Ubuntu package)
libunbound2 (Ubuntu package)
unbound-devel
unbound-debugsource
unbound-debuginfo
unbound-anchor-debuginfo
unbound-anchor
libunbound2-debuginfo
libunbound2
libunbound8 (Ubuntu package)
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - TUS
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
Ubuntu
OpenShift Virtualization
How to mitigate CVE-2019-25042
Install updates from vendor's website.
Unbound - update to 1.9.5
cflinuxfs3 - update to 0.237.0
unbound (Red Hat package) - addressed in versions 1.7.3-12.el8_2, 1.7.3-15.el8
unbound (Ubuntu package) - addressed in versions 1.6.7-1ubuntu2.4, 1.9.4-2ubuntu1.2
libunbound2 (Ubuntu package) - update to 1.6.7-1ubuntu2.4
unbound-devel - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-debugsource - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-anchor-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-anchor - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound2-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound2 - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound8 (Ubuntu package) - update to 1.9.4-2ubuntu1.2
OpenShift Virtualization - addressed in versions 2.6.6, 4.8.0
cflinuxfs3 - update to 0.237.0
unbound (Red Hat package) - addressed in versions 1.7.3-12.el8_2, 1.7.3-15.el8
unbound (Ubuntu package) - addressed in versions 1.6.7-1ubuntu2.4, 1.9.4-2ubuntu1.2
libunbound2 (Ubuntu package) - update to 1.6.7-1ubuntu2.4
unbound-devel - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-debugsource - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-anchor-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
unbound-anchor - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound2-debuginfo - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound2 - addressed in versions 1.6.8-3.9.1, 1.6.8-10.6.1
libunbound8 (Ubuntu package) - update to 1.9.4-2ubuntu1.2
OpenShift Virtualization - addressed in versions 2.6.6, 4.8.0
External References
Related Security Bulletins
- Multiple vulnerabilities in Unbound DNS Server
- Cloud Foundry cflinuxfs3 update for Unboud
- Red Hat Enterprise Linux 8 update for unbound
- Red Hat Enterprise Linux 8.2 update for unbound
- Ubuntu update for unbound
- SUSE update for unbound
- SUSE update for unbound
- SUSE update for unbound
- Multiple vulnerabilities in OpenShift Virtualization 4.8
- Multiple vulnerabilities in OpenShift Virtualization 2.6