CVE-2020-8285: Buffer Overflow

Published Nov 30, 2020
·
Updated

curl 7.21.0 to and including 7.73.0 is vulnerable to uncontrolled recursion due to a stack overflow issue in FTP wildcard match parsing.

Other sources

cURL libcurl is vulnerable to a denial of service, caused by a stack-based buffer overflow in the wildcard matching function. By sending a specially-crafted request, a remote attacker could exploit this vulnerability to cause the application to crash.

IBM

curl. A buffer overflow was addressed with improved input validation.

libcurl offers a wildcard matching functionality, which allows a callback (set with CURLOPTCHUNKBGNFUNCTION) to return information back to libcurl on how to handle a specific entry in a directory when libcurl iterates over a list of all available entries. When this callback returns CURLCHUNKBGNFUNCSKIP, to tell libcurl to not deal with that file, the internal function in libcurl then calls itself recursively to handle the next directory entry. If there's a sufficient amount of file entries and if the callback returns "skip" enough number of times, libcurl runs out of stack space. The exact amount will of course vary with platforms, compilers and other environmental factors.

Red Hat

Credit

xnynx, xnynx, xnynx

Affected Software

111 affected componentsFixes available
redhat/jbcs-httpd24<0:1-18.el8
0:1-18.el8
redhat/jbcs-httpd24-apr<0:1.6.3-105.el8
0:1.6.3-105.el8
redhat/jbcs-httpd24-apr-util<0:1.6.1-82.el8
0:1.6.1-82.el8
redhat/jbcs-httpd24-brotli<0:1.0.6-40.el8
0:1.0.6-40.el8
redhat/jbcs-httpd24-curl<0:7.77.0-2.el8
0:7.77.0-2.el8
redhat/jbcs-httpd24-httpd<0:2.4.37-74.el8
0:2.4.37-74.el8
redhat/jbcs-httpd24-jansson<0:2.11-55.el8
0:2.11-55.el8
redhat/jbcs-httpd24-nghttp2<0:1.39.2-37.el8
0:1.39.2-37.el8
redhat/jbcs-httpd24-openssl<1:1.1.1g-6.el8
1:1.1.1g-6.el8
redhat/jbcs-httpd24-openssl-chil<0:1.0.0-5.el8
0:1.0.0-5.el8
redhat/jbcs-httpd24-openssl-pkcs11<0:0.4.10-20.el8
0:0.4.10-20.el8
redhat/jbcs-httpd24<0:1-18.jbcs.el7
0:1-18.jbcs.el7
redhat/jbcs-httpd24-apr<0:1.6.3-105.jbcs.el7
0:1.6.3-105.jbcs.el7
redhat/jbcs-httpd24-apr-util<0:1.6.1-82.jbcs.el7
0:1.6.1-82.jbcs.el7
redhat/jbcs-httpd24-curl<0:7.77.0-2.jbcs.el7
0:7.77.0-2.jbcs.el7
redhat/jbcs-httpd24-httpd<0:2.4.37-74.jbcs.el7
0:2.4.37-74.jbcs.el7
redhat/jbcs-httpd24-jansson<0:2.11-55.jbcs.el7
0:2.11-55.jbcs.el7
redhat/curl<0:7.61.1-18.el8
0:7.61.1-18.el8
debian/curl
7.64.0-4+deb10u27.64.0-4+deb10u77.74.0-1.3+deb11u97.74.0-1.3+deb11u107.88.1-10+deb12u37.88.1-10+deb12u48.4.0-2
debian/curl<=7.72.0-1, <=7.64.0-4+deb10u1, <=7.64.0-4
redhat/curl<7.74.0
7.74.0
Apple macOS Big Sur<11.3
11.3
Apple Catalina
Apple Mojave
IBM Cloud Pak for Security (CP4S)<=1.7.2.0
IBM Cloud Pak for Security (CP4S)<=1.7.1.0
IBM Cloud Pak for Security (CP4S)<=1.7.0.0
haxx libcurl>=7.21.0<7.74.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Fedoraproject Fedora=32
Fedoraproject Fedora=33
NetApp Clustered Data ONTAP
NetApp Hci Management Node
NetApp Solidfire
All of the following
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
All of the following
NetApp Hci Storage Node Firmware
NetApp Hci Storage Node
Apple iOS and macOS<10.14.6
Apple iOS and macOS>=10.15<10.15.7
Apple iOS and macOS=10.14.6
Apple iOS and macOS=10.14.6-security_update_2019-001
Apple iOS and macOS=10.14.6-security_update_2019-002
Apple iOS and macOS=10.14.6-security_update_2020-001
Apple iOS and macOS=10.14.6-security_update_2020-002
Apple iOS and macOS=10.14.6-security_update_2020-003
Apple iOS and macOS=10.14.6-security_update_2020-004
Apple iOS and macOS=10.14.6-security_update_2020-005
Apple iOS and macOS=10.14.6-security_update_2020-006
Apple iOS and macOS=10.14.6-security_update_2020-007
Apple iOS and macOS=10.14.6-security_update_2021-001
Apple iOS and macOS=10.15.7
Apple iOS and macOS=10.15.7-security_update_2020-001
Apple iOS and macOS=10.15.7-security_update_2021-001
Apple iOS and macOS=10.15.7-supplemental_update
Apple macOS>=11.0<11.3
Oracle Communications Billing and Revenue Management=12.0.0.3.0
Oracle Communications Cloud Native Core Policy=1.14.0
Oracle Essbase=21.2
Oracle PeopleSoft Enterprise PeopleTools=8.58
All of the following
Fujitsu M10-1 Firmware<xcp2410
Fujitsu M10-1
All of the following
Fujitsu M10-4 Firmware<xcp2410
Fujitsu M10-4
All of the following
Fujitsu M10-4s Firmware<xcp2410
Fujitsu M10-4s
All of the following
Fujitsu M12-1 Firmware<xcp2410
Fujitsu M12-1
All of the following
Fujitsu M12-2 Firmware<xcp2410
Fujitsu M12-2
All of the following
Fujitsu M12-2s Firmware<xcp2410
Fujitsu M12-2s
All of the following
Fujitsu M10-1 Firmware<xcp3110
Fujitsu M10-1
All of the following
Fujitsu M10-4 Firmware<xcp3110
Fujitsu M10-4
All of the following
Fujitsu M10-4s Firmware<xcp3110
Fujitsu M10-4s
All of the following
Fujitsu M12-1 Firmware<xcp3110
Fujitsu M12-1
All of the following
Fujitsu M12-2 Firmware<xcp3110
Fujitsu M12-2
All of the following
Fujitsu M12-2s Firmware<xcp3110
Fujitsu M12-2s
Siemens Sinec Infrastructure Network Services<1.0.1.1
Splunk Universal Forwarder>=8.2.0<8.2.12
Splunk Universal Forwarder>=9.0.0<9.0.6
Splunk Universal Forwarder=9.1.0
NetApp Hci Bootstrap Os
NetApp Hci Compute Node
NetApp Hci Storage Node Firmware
NetApp Hci Storage Node
Fujitsu M10-1 Firmware<xcp2410
Fujitsu M10-1
Fujitsu M10-4 Firmware<xcp2410
Fujitsu M10-4
Fujitsu M10-4s Firmware<xcp2410
Fujitsu M10-4s
Fujitsu M12-1 Firmware<xcp2410
Fujitsu M12-1
Fujitsu M12-2 Firmware<xcp2410
Fujitsu M12-2
Fujitsu M12-2s Firmware<xcp2410
Fujitsu M12-2s
Fujitsu M10-1 Firmware<xcp3110
Fujitsu M10-4 Firmware<xcp3110
Fujitsu M10-4s Firmware<xcp3110
Fujitsu M12-1 Firmware<xcp3110
Fujitsu M12-2 Firmware<xcp3110
Fujitsu M12-2s Firmware<xcp3110

Remediation

Information

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Event History

Dec 9, 2020
CVE Published
08:00 AM
Dec 14, 2020
CVE Published
via MITRE·07:39 PM
Data Sourced
via MITRE·07:39 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-8285?

CVE-2020-8285 is a buffer overflow vulnerability in curl that has been addressed with improved input validation.

2

What is the severity of CVE-2020-8285?

The severity of CVE-2020-8285 is medium with a CVSS score of 6.5.

3

Which software versions are affected by CVE-2020-8285?

The versions affected by CVE-2020-8285 are curl 7.74.0 and earlier, jbcs-httpd24-curl 0:7.77.0-2.el8 and earlier, and jbcs-httpd24-curl 0:7.77.0-2.jbcs.el7 and earlier.

4

How can I fix CVE-2020-8285?

To fix CVE-2020-8285, update curl to version 7.74.0 or later.

5

Where can I find more information about CVE-2020-8285?

You can find more information about CVE-2020-8285 in the references provided: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203