Skip to content
OpenAdvisories
High · 7.8 CVE-2020-8177 EUVD-2020-29059GHSA-wqc8-jpfx-w9g4

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 Dec 14, 2020 · Updated Oct 14, 2026 · Assigned by hackerone

Description

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.

Affected products

VendorProductAffectedFixed
— https://github.com/curl/curl curl 7.20.0 to and including 7.70.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.72.0-1 —
Debian 13 curl 7.72.0-1 —
Debian 12 curl 7.72.0-1 —
Debian 10 curl 7.64.0-4+deb10u2 DSA-4881-1
Debian 9 curl 7.52.1-5+deb9u11 DLA-2295-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.1 USN-4402-1
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.9 USN-4402-1
Ubuntu 16.04 LTS curl 7.47.0-1ubuntu2.15 USN-4402-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm4 USN-4402-1
ReleasePackageFixed inAdvisory
RHEL 8 curl +3 7.61.1-14.el8 RHSA-2020:4599
RHEL 7 curl +2 7.29.0-59.el7_9.1 RHSA-2020:5002
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS curl +3 7.61.1-12.el8_2.2 RHSA-2020:5417
ReleasePackageFixed inAdvisory
SLES 15 SP2 curl 7.66.0-4.3.1 SUSE-SU-2020:1733-1
SLES 15 SP1 curl 7.60.0-3.29.1 SUSE-SU-2020:1773-1
SLES 15 curl 7.60.0-3.29.1 SUSE-SU-2020:1773-1
SLES 12 SP5 curl 7.60.0-11.3.2 SUSE-SU-2020:1734-1
SLES 12 SP4 curl 7.60.0-4.15.2 SUSE-SU-2020:1735-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP3 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SLES 12 SP2 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SLES 11 SP4 curl 7.37.0-70.47.1 SUSE-SU-2020:14409-1
SLES 11 curl-openssl1 7.37.0-70.47.1 SUSE-SU-2020:14409-1
SLES for SAP 15 curl 7.60.0-3.29.1 SUSE-SU-2020:1773-1
SLES for SAP 12 SP5 curl 7.60.0-11.3.2 SUSE-SU-2020:1734-1
SLES for SAP 12 SP4 curl 7.60.0-4.15.2 SUSE-SU-2020:1735-1
SLES for SAP 12 SP3 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SLES for SAP 12 SP2 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SLE HPC 15 curl 7.60.0-3.29.1 SUSE-SU-2020:1773-1
SUSE OpenStack Cloud Crowbar 8 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SUSE OpenStack Cloud 8 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SUSE OpenStack Cloud 7 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SUSE Linux Enterprise Point of Sale 11 SP3 curl 7.37.0-70.47.1 SUSE-SU-2020:14409-1
SUSE HPE Helion OpenStack 8 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
SUSE Enterprise Storage 5 curl 7.37.0-37.47.1 SUSE-SU-2020:1732-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.2 curl +1 7.66.0-lp152.3.3.1 openSUSE-SU-2020:0883-1
openSUSE Leap 15.1 curl +1 7.60.0-lp151.5.12.1 openSUSE-SU-2020:0908-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.71.0-r0 —
Alpine v3.23 curl 7.71.0-r0 —
Alpine v3.22 curl 7.71.0-r0 —
Alpine v3.21 curl 7.71.0-r0 —
Alpine v3.20 curl 7.71.0-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.71.0-r0 —
Alpine v3.18 curl 7.71.0-r0 —
Alpine v3.17 curl 7.71.0-r0 —
Alpine v3.16 curl 7.71.0-r0 —
Alpine v3.15 curl 7.71.0-r0 —
Alpine v3.14 curl 7.71.0-r0 —
Alpine v3.13 curl 7.71.0-r0 —
Alpine v3.12 curl 7.69.1-r1 —
Alpine v3.11 curl 7.67.0-r1 —
Alpine v3.10 curl 7.66.0-r1 —
Alpine v3.9 curl 7.64.0-r4 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.61.1-12.amzn2.0.2 ALAS2-2020-1451

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 curl +3 7.61.1-14.el8 ELSA-2020-4599
Oracle Linux 7 curl +2 7.29.0-59.0.1.el7_9.1 ELSA-2020-5002

Advisories 27

References