Heap-based buffer overflow in libcurl - CVE-2013-2174
Published: September 1, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the "curl_easy_unescape" function. A remote attacker can pass specially crafted data to the application, trigger a 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
Modular Switchgear Monitoring (MSM)
Debian Linux
Ubuntu
Slackware Linux
libcurl3-gnutls (Ubuntu package)
libcurl3 (Ubuntu package)
curl (Debian package)
libcurl3-nss (Ubuntu package)
curl
How to mitigate CVE-2013-2174
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.19.7-1ubuntu1.3, 7.22.0-3ubuntu4.2, 7.27.0-1ubuntu1.3, 7.29.0-1ubuntu3.1
libcurl3 (Ubuntu package) - addressed in versions 7.19.7-1ubuntu1.3, 7.22.0-3ubuntu4.2, 7.27.0-1ubuntu1.3, 7.29.0-1ubuntu3.1
curl (Debian package) - addressed in versions 7.21.0-2.1+squeeze4, 7.26.0-1+wheezy3
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.2, 7.27.0-1ubuntu1.3, 7.29.0-1ubuntu3.1
curl - addressed in versions 7.19.6, 7.20.1, 7.21.4, 7.29.0
External References
- http://curl.haxx.se/docs/adv_20130622.html
- http://lists.opensuse.org/opensuse-updates/2013-07/msg00013.html
- http://rhn.redhat.com/errata/RHSA-2013-0983.html
- http://www.debian.org/security/2013/dsa-2713
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- http://www.securityfocus.com/bid/60737
- http://www.ubuntu.com/usn/USN-1894-1
- https://github.com/bagder/curl/commit/192c4f788d48f82c03e9cef40013f34370e90737