Stack-based buffer overflow in libcurl - CVE-2019-3822

 

Stack-based buffer overflow in libcurl - CVE-2019-3822

Published: February 11, 2019


Vulnerability identifier: #VU17456
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-3822
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.

The vulnerability exists due to the NT LAN Manager (NTLM) Curl_auth_create_ntlm_type3_message function creates an outgoing NTLM type-3 header and generates the request HTTP header contents based on previously received data. A remote unauthenticated attacker can send very large ‘nt response’ output data, that has been extracted from a previous NTLMv2 header that was provided by a malicious or broken HTTP server, trigger stack-based buffer overflow and cause the service to crash or execute arbitrary code on the target system.

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


Affected software

libcurl
Amazon Linux AMI
Gentoo Linux
Arch Linux
Red Hat Enterprise Linux for x86_64
Slackware Linux
Ubuntu
Opensuse
Fedora
EMC Isilon OneFS
Services Tools Bundle
MySQL Server
Oracle Enterprise Manager Ops Center
curl (Alpine package)
curl (Ubuntu package)
libcurl3 (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
libcurl3-nss (Ubuntu package)
curl (Debian package)
libcurl4 (Ubuntu package)
curl
Dell EMC Unity VSA Operating Environment (OE)
Dell EMC Unity Operating Environment (OE)

How to mitigate CVE-2019-3822

Update to version 7.64.0.

libcurl - update to 7.64.0
MySQL Server - addressed in versions 5.7.27, 8.0.16
curl (Alpine package) - update to 7.61.1-r2
curl (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
libcurl3 (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
libcurl3-nss (Ubuntu package) - addressed in versions 7.35.0-1ubuntu2.20, 7.47.0-1ubuntu2.12, 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
curl (Debian package) - update to 7.52.1-5+deb9u9
libcurl4 (Ubuntu package) - addressed in versions 7.58.0-2ubuntu3.6, 7.61.0-1ubuntu2.3
curl - update to 7.61.1-8.fc29
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.0.0.5.116
Dell EMC Unity Operating Environment (OE) - update to 5.0.0.0.5.116

External References

Related Security Bulletins