Buffer overflow in cURL - CVE-2017-7407
Published: April 3, 2017 / Updated: August 3, 2020
Vulnerability details
The vulnerability allows a local non-authenticated attacker to gain access to sensitive information.
The ourWriteOut function in tool_writeout.c in curl 7.53.1 might allow physically proximate attackers to obtain sensitive information from process memory in opportunistic circumstances by reading a workstation screen during use of a --write-out argument ending in a '%' character, which leads to a heap-based buffer over-read.
Affected software
Amazon Linux AMI
Gentoo Linux
Ubuntu
Fedora
curl (Alpine package)
libcurl3 (Ubuntu package)
libcurl3-gnutls (Ubuntu package)
curl (Ubuntu package)
libcurl3-nss (Ubuntu package)
curl
Dell EMC Unisphere Central
How to mitigate CVE-2017-7407
curl (Alpine package) - addressed in versions 7.52.1-r1, 7.52.1-r2
libcurl3 (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.18, 7.35.0-1ubuntu2.11, 7.47.0-1ubuntu2.3, 7.52.1-4ubuntu1.2
libcurl3-gnutls (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.18, 7.35.0-1ubuntu2.11, 7.47.0-1ubuntu2.3, 7.52.1-4ubuntu1.2
curl (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.18, 7.35.0-1ubuntu2.11, 7.47.0-1ubuntu2.3, 7.52.1-4ubuntu1.2
libcurl3-nss (Ubuntu package) - addressed in versions 7.22.0-3ubuntu4.18, 7.35.0-1ubuntu2.11, 7.47.0-1ubuntu2.3, 7.52.1-4ubuntu1.2
curl - addressed in versions 7.51.0-6.fc25, 7.53.1-4.fc26
Dell EMC Unisphere Central - update to 4.0.8.23220