Heap-based buffer overflow in cURL - CVE-2019-5482

 

Heap-based buffer overflow in cURL - CVE-2019-5482

Published: September 11, 2019 / Updated: June 1, 2023


Vulnerability identifier: #VU21059
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-5482
CWE-ID: CWE-122
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 within the tftp_receive_packet() function when processing TFTP data. A remote attacker can send specially crafted TFTP response to the vulnerable curl client, trigger heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

cURL
Amazon Linux AMI
Gentoo Linux
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Slackware Linux
Opensuse
Fedora
Oracle Communications Operations Monitor
Data Computing Appliance (DCA)
Watson Studio on Cloud Pak for Data
Traffix SDC
OSS Support Tools
Red Hat OpenShift Container Platform
BIG-IQ Centralized Management
Oracle Enterprise Manager Ops Center
MySQL Server
Oracle Essbase
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
curl (Red Hat package)
curl (Ubuntu package)
curl (Debian package)
gnurl (Alpine package)
curl
BIG-IP FPS
BIG-IP ASM
BIG-IP PEM
BIG-IP GTM
BIG-IP Analytics
BIG-IP LTM
BIG-IP
BIG-IP DDHD
BIG-IP SSLO
BIG-IP Advanced WAF
BIG-IP Link Controller
BIG-IP AAM
BIG-IP DNS
Oracle HTTP Server
Ansible Automation Platform
IBM Cloud Transformation Advisor
Dell EMC Unity Operating Environment (OE)
Dell EMC Unity XT Operating Environment (OE)
Dell EMC Unity VSA Operating Environment (OE)

How to mitigate CVE-2019-5482

Install updates from vendor's website.

cURL - update to 7.66.0
MySQL Server - addressed in versions 5.7.29, 8.0.19
curl (Red Hat package) - addressed in versions 7.29.0-42.el7_4.3, 7.29.0-51.el7_6.4, 7.29.0-54.el7_7.4, 7.29.0-59.el7, 7.61.1-12.el8
curl (Ubuntu package) - addressed in versions 7.47.0-1ubuntu2.14, 7.58.0-2ubuntu3.8, 7.64.0-2ubuntu1.2
curl (Debian package) - update to 7.52.1-5+deb9u10
gnurl (Alpine package) - update to 7.67.0-r0
BIG-IP FPS - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP ASM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP PEM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP Advanced WAF - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP Link Controller - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP DDHD - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP GTM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP Analytics - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP AAM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP SSLO - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP DNS - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
BIG-IP LTM - addressed in versions 13.1.4.1, 14.1.4.2, 15.1.4, 16.0.1.2, 16.1.0
Data Computing Appliance (DCA) - addressed in versions Firmware tool 3H00, 4.2.1.0
Ansible Automation Platform - addressed in versions 1.0, 1.1
IBM Cloud Transformation Advisor - update to 3.10.0
Red Hat OpenShift Container Platform - update to 4.3.40
Watson Studio on Cloud Pak for Data - addressed in versions 4.8.7, 5.1.0
Dell EMC Unity Operating Environment (OE) - update to 5.0.2.0.5.009
Dell EMC Unity XT Operating Environment (OE) - update to 5.0.2.0.5.009
Dell EMC Unity VSA Operating Environment (OE) - update to 5.0.2.0.5.009
curl - addressed in versions 7.61.1-12.fc29, 7.65.3-4.fc30, 7.66.0-1.fc31

External References

Related Security Bulletins