CVE-2017-7407 json
The ourWriteOut function in tool_writeout.c in curl 7.53.1 might allow physically proximate attackers to obtain sensitive information from…
published 2017-04-03 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16431
- cvss
- 2.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- curl Debian 14, Debian 13, Debian 12 7.52.1-4
debian advisories DEBIAN-CVE-2017-7407
- curl Ubuntu 14.04 LTS 7.35.0-1ubuntu2.11
- curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.3
ubuntu advisories UBUNTU-CVE-2017-7407
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- httpd24-curl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el6
- httpd24-curl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el7
- httpd24-httpd RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el6
- httpd24-httpd RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el7
- httpd24-mod_md RHEL 3 SOFTWARE_COLLECTIONS 2.4.34-7.el7
- httpd24-libcurl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el6
- httpd24-libcurl RHEL 3 SOFTWARE_COLLECTIONS 7.61.1-1.el7
- httpd24-mod_ssl RHEL 3 SOFTWARE_COLLECTIONS 1:2.4.34-7.el6
red hat advisories RHSA-2018:3558
- curl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.19.7-1.70.3.1
- curl-openssl1 SLES 11-SECURITY 7.19.7-1.70.3.1
- curl Studio Onsite 1.3 7.19.7-1.20.52.2
- curl SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +6 more 7.37.0-36.1
- curl SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 7.19.7-1.69.1
- curl-openssl1 SLES 11-SECURITY 7.19.7-1.69.1
suse advisories SUSE-SU-2017:2312-1SUSE-SU-2017:1117-1SUSE-SU-2017:1042-1SUSE-SU-2017:1043-1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +16 more 7.53.1-r2
- curl Alpine 3.3, Alpine 3.2 7.52.1-r1
- curl Alpine 3.4 7.52.1-r2
- curl Alpine 3.5 7.52.1-r3
alpine advisories ALPINE-CVE-2017-7407
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/curl/curl@1890d59 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-7407 updated cvss 2.4
curl: --write-out out of bounds read
-
Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurlaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 curl, libcurl Red Hat Enterprise Virtualization 3 mingw-virt-viewer, mingw32-virt-viewer, mingw64-virt-viewer Red Hat JBoss Web Server 3 curlaffected: no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) httpd24-curl 7.61.1-1.el6, httpd24-httpd 2.4.34-7.el6, httpd24-nghttp2 1.7.1-7.el6, httpd24-libcurl 7.61.1-1.el6, httpd24-mod_ssl 2.4.34-7.el6, httpd24-mod_ldap 2.4.34-7.el6, +5 morefixed: vendor fix RHSA-2018:3558
+1 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) httpd24-curl 7.61.1-1.el7, httpd24-httpd 2.4.34-7.el7, httpd24-mod_md 2.4.34-7.el7, httpd24-nghttp2 1.7.1-7.el7, httpd24-libcurl 7.61.1-1.el7, httpd24-mod_ssl 2.4.34-7.el7, +6 more -
Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat Enterprise Linux 8 curl, libcurl, libcurl-minimalnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6 mo ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 2.4 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 2.4 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.0 | 2.4 | CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/curl/curl/commit/1890d59905414ab84a35892b2e45833654aa5c13
patch, vendor-advisory
-
access.redhat.com
/errata/RHSA-2018:3558
vendor-advisory
-
security.gentoo.org
/glsa/201709-14
vendor-advisory
- oracle.com /technetwork/security-advisory/cpuoct2018-4428296.html
Sources
- CVE List CVE-2017-7407
- NVD CVE-2017-7407
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.