Heap-based buffer overflow in cURL - CVE-2018-0500
Published: July 12, 2018 / Updated: July 12, 2018
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists in curl_smtp_escape_eob in lib/smtp.c due to heap-based buffer overflow when a system invokes curl to send data via SMTP and uses a reduced read buffer. A remote unauthenticated attacker can trigger memory corruption and cause the service to crash or execute arbitrary data with elevated privileges.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Gentoo Linux
Amazon Linux AMI
Slackware Linux
Opensuse
Fedora
curl (Alpine package)
curl
Secured Component Verification (SCV)
How to mitigate CVE-2018-0500
curl (Alpine package) - update to 7.61.0-r0
Secured Component Verification (SCV) - update to 1.92.0
curl - update to 7.59.0-5.fc28
External References
Related Security Bulletins
- Remote code execution in cURL
- Slackware Linux update for curl
- Arch Linux update for curl
- Arch Linux update for libcurl-compat
- Arch Linux update for libcurl-gnutls
- Arch Linux update for lib32-libcurl-gnutls
- Arch Linux update for lib32-libcurl-compat
- Arch Linux update for lib32-curl
- Gentoo update for cURL
- OpenSUSE Linux update for curl
- Amazon Linux AMI update for curl
- Heap-based buffer overflow in curl (Alpine package)
- Multiple vulnerabilities in Dell Secured Component Verification (SCV)
- Fedora 28 update for curl