OS Command Injection in Unbound - CVE-2019-18934
Published: June 25, 2020
Vulnerability identifier: #VU29236
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-18934
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to insufficient validation of user-supplied input in the ipsec module. A remote attacker can pass specially crafted input to the application and execute arbitrary commands on the system.Successful exploitation of he vulnerability requires that unbound is compiled with `--enable-ipsecmod` support, and ipsecmod is enabled and used in the configuration.
Affected software
Unbound
unbound (Alpine package)
unbound (Red Hat package)
unbound
unbound-libs
unbound-devel
unbound-help
python3-unbound
unbound-debugsource
unbound-debuginfo
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Opensuse
openEuler
Fedora
unbound (Alpine package)
unbound (Red Hat package)
unbound
unbound-libs
unbound-devel
unbound-help
python3-unbound
unbound-debugsource
unbound-debuginfo
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Opensuse
openEuler
Fedora
How to mitigate CVE-2019-18934
Install updates from vendor's website.
Unbound - update to 1.9.5
unbound (Alpine package) - update to 1.7.3-r2
unbound (Red Hat package) - update to 1.7.3-10.el8
unbound - addressed in versions 1.9.6-1.fc30, 1.9.6-1.fc31
unbound - update to 1.11.0-2
unbound-libs - update to 1.11.0-2
unbound-devel - update to 1.11.0-2
unbound-help - update to 1.11.0-2
python3-unbound - update to 1.11.0-2
unbound-debugsource - update to 1.11.0-2
unbound-debuginfo - update to 1.11.0-2
unbound (Alpine package) - update to 1.7.3-r2
unbound (Red Hat package) - update to 1.7.3-10.el8
unbound - addressed in versions 1.9.6-1.fc30, 1.9.6-1.fc31
unbound - update to 1.11.0-2
unbound-libs - update to 1.11.0-2
unbound-devel - update to 1.11.0-2
unbound-help - update to 1.11.0-2
python3-unbound - update to 1.11.0-2
unbound-debugsource - update to 1.11.0-2
unbound-debuginfo - update to 1.11.0-2
External References
- http://www.openwall.com/lists/oss-security/2019/11/19/1
- https://github.com/NLnetLabs/unbound/blob/release-1.9.5/doc/Changelog
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MOCR6JP7MSRARTOGEHGST64G4FJGX5VK/
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2019-18934.txt
- https://www.nlnetlabs.nl/news/2019/Nov/19/unbound-1.9.5-released/