CVE-2020-8177 json
curl 7.20.0 through 7.70.0 is vulnerable to improper restriction of names for files and other resources that can lead too overwriting a loc…
published 2020-12-14 5 y ago modified 2026-10-14 26 d ago also EUVD-2020-29059 , JLSEC-2026-1331
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
curl 7.20.0 through 7.70.0 is vulnerable to improper restriction of names for files and other resources that can lead too overwriting a local file when the -J flag is used.
Patch / fix
- julia LibCURL_jll 7.71.1+0
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- curl Debian 14, Debian 13, Debian 12 7.72.0-1
debian advisories DEBIAN-CVE-2020-8177
- curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.15
- curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.9
- curl Ubuntu 20.04 LTS 7.68.0-1ubuntu2.1
- curl Ubuntu Pro 14.04 LTS 7.35.0-1ubuntu2.20+esm4
ubuntu advisories UBUNTU-CVE-2020-8177
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
- curl RHEL 7 7.29.0-59.el7_9.1
- libcurl RHEL 7 7.29.0-59.el7_9.1
- curl RHEL 8 7.61.1-14.el8
- libcurl RHEL 8 7.61.1-14.el8
- libcurl-minimal RHEL 8 7.61.1-14.el8
- curl RHEL 8.2 EUS 7.61.1-12.el8_2.2
- libcurl RHEL 8.2 EUS 7.61.1-12.el8_2.2
- libcurl-minimal RHEL 8.2 EUS 7.61.1-12.el8_2.2
red hat advisories RHSA-2020:5417RHSA-2020:5002RHSA-2020:4599
- curl SLES for SAP 15, SLES 15-LTSS, SLE Module for Basesystem 15 SP1 +2 more 7.60.0-3.29.1
- curl SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 7.37.0-70.47.1
- curl-openssl1 SLES 11-SECURITY 7.37.0-70.47.1
- curl SLES for SAP 12 SP4, SLES 12 SP4, SLE Software Development Kit 12 SP4 7.60.0-4.15.2
- curl SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 7.60.0-11.3.2
- curl SLE Module for Basesystem 15 SP2 7.66.0-4.3.1
- curl SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES 12 SP3-LTSS +8 more 7.37.0-37.47.1
suse advisories SUSE-SU-2020:1773-1SUSE-SU-2020:14409-1SUSE-SU-2020:1735-1SUSE-SU-2020:1734-1SUSE-SU-2020:1733-1SUSE-SU-2020:1732-1
- curl openSUSE Leap 15.1 7.60.0-lp151.5.12.1
- curl-mini openSUSE Leap 15.1 7.60.0-lp151.5.12.1
- curl openSUSE Leap 15.2 7.66.0-lp152.3.3.1
- curl-mini openSUSE Leap 15.2 7.66.0-lp152.3.3.1
opensuse advisories openSUSE-SU-2020:0908-1openSUSE-SU-2020:0883-1
- curl Alpine 3.10 7.66.0-r1
- curl Alpine 3.11 7.67.0-r1
- curl Alpine 3.12 7.69.1-r1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 7.71.0-r0
- curl Alpine 3.9 7.64.0-r4
alpine advisories ALPINE-CVE-2020-8177
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl Arch Linux 7.71.0-1
arch linux advisories AVG-1194
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-2020-8177 updated cvss 5.4
curl: Incorrect argument check can allow remote servers to overwrite local files
-
Red Hat Ceph Storage 2 curl, libcurl Red Hat Software Collections httpd24-curl, httpd24-libcurlaffected: workaround, no fix planned “The vulnerability is only possible when using the '-J' and '-i' switches in conjunction with the curl command. Executing curl without these switches mitigates the flaw.”
-
Red Hat OpenShift Do 1 openshiftdo/odo-init-image-rhel7 1.1.3-2fixed: vendor fix “The vulnerability is only possible when using the '-J' and '-i' switches in conjunction with the curl command. Executing curl without these switches mitigates the flaw.” RHSA-2021:0949
-
Red Hat Enterprise Linux BaseOS (v. 8) curl 7.61.1-14.el8, libcurl 7.61.1-14.el8, libcurl-minimal 7.61.1-14.el8fixed: vendor fix “The vulnerability is only possible when using the '-J' and '-i' switches in conjunction with the curl command. Executing curl without these switches mitigates the flaw.” RHSA-2020:4599
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) curl 7.61.1-12.el8_2.2, libcurl 7.61.1-12.el8_2.2, libcurl-minimal 7.61.1-12.el8_2.2fixed: vendor fix “The vulnerability is only possible when using the '-J' and '-i' switches in conjunction with the curl command. Executing curl without these switches mitigates the flaw.” RHSA-2020:5417
-
Red Hat Enterprise Linux Client (v. 7) curl 7.29.0-59.el7_9.1, libcurl 7.29.0-59.el7_9.1 Red Hat Enterprise Linux Client Optional (v. 7) libcurl-devel 7.29.0-59.el7_9.1, curl-debuginfo 7.29.0-59.el7_9.1 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libcurl-devel 7.29.0-59.el7_9.1, curl-debuginfo 7.29.0-59.el7_9.1 Red Hat Enterprise Linux Server (v. 7) curl 7.29.0-59.el7_9.1, libcurl 7.29.0-59.el7_9.1 Red Hat Enterprise Linux Workstation (v. 7) curl 7.29.0-59.el7_9.1, libcurl 7.29.0-59.el7_9.1fixed: vendor fix “The vulnerability is only possible when using the '-J' and '-i' switches in conjunction with the curl command. Executing curl without these switches mitigates the flaw.” RHSA-2020:5002
-
Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat .NET Core 3.1 on Red Hat Enterprise Linux rh-dotnet31-curl, rh-dotnet31-libcurl Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curlnot 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 ICSA-23-348-10 updated cvss 7.1
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-22-069-09 updated cvss 7.1
Siemens SINEC INS
-
Siemens SINEC INS <V1.0.1.1affected: fixed in V1.0.1.1 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
1.29% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/887462 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibCURL_jll | <7.71.1+0 |
7.71.1+0 |
Affected products
- n/a https://github.com/curl/curl
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
References
-
oracle.com
/security-alerts/cpujan2022.html
patch, third-party-advisory, web
-
cert-portal.siemens.com
/productcert/pdf/ssa-389290.pdf
patch, third-party-advisory, web
-
hackerone.com
/reports/887462
exploit, third-party-advisory, web
-
debian.org
/security/2021/dsa-4881
vendor-advisory, third-party-advisory, web
-
curl.se
/docs/CVE-2020-8177.html
vendor-advisory, web
- cert-portal.siemens.com /productcert/html/ssa-389290.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2020-8177
- NVD CVE-2020-8177
- OSV JLSEC-2026-1331
Fencer Vulns 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.