Buffer overflow in wget - CVE-2019-5953

 

Buffer overflow in wget - CVE-2019-5953

Published: April 6, 2019


Vulnerability identifier: #VU18143
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-5953
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when handling Internationalized Resource Identifiers (IRI) during recursive downloading. A remote attacker can trick the victim to connect to a malicious web server, trigger memory corruption and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

wget
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power
Slackware Linux
Opensuse
Fedora
wget (Debian package)
wget (Alpine package)
wget (Ubuntu package)
wget
Red Hat Virtualization Host
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)

How to mitigate CVE-2019-5953

Install updates from vendor's website.

wget - update to 1.20.2
wget (Debian package) - update to 1.18-5+deb9u3
wget (Alpine package) - update to 1.20.3-r0
wget (Ubuntu package) - addressed in versions 1.15-1ubuntu1.14.04.5, 1.17.1-1ubuntu1.5, 1.19.4-1ubuntu2.2, 1.19.5-1ubuntu1.1
wget - addressed in versions 1.20.3-1.fc28, 1.20.3-1.fc29, 1.20.3-1.fc30
Dell EMC Unity Operating Environment (OE) - update to 5.0.3.0.5.014
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.3.0.5.014

External References

Related Security Bulletins