CVE-2010-3842: Path Traversal

Published Oct 13, 2010
·
Updated

Absolute path traversal vulnerability in curl 7.20.0 through 7.21.1, when the --remote-header-name or -J option is used, allows remote servers to create or overwrite arbitrary files by using \ (backslash) as a separator of path components within the Content-disposition HTTP header.

Other sources

cURL did not properly cut off directory parts from user provided file name to be downloaded on operating systems, where backslashes are used to separate directories and file names. This could allow remote servers to create or overwrite files via a Content-Disposition header that suggests a crafted filename, and possibly execute arbitrary code as a consequence of writing to a certain file in a user's home directory. Different vulnerability than CVE-2010-2251, CVE-2010-2252 and CVE-2010-2253.

Note: As already mentioned in [2]. This flaw only affected those operating systems, where backslash is used to separate directories and file names, thus Microsoft Windows, Novell Netware, MSDOS, OS/2 and Symbian to mention some of them.

References: [1] http://curl.haxx.se/docs/security.html [2] http://curl.haxx.se/docs/adv20101013.html

Upstream patch: [3] http://curl.haxx.se/curl-content-disposition.patch

Credit: Upstream acknowledges Dan Fandrich as the original reporter.

Red Hat

Affected Software

3 affected components
curl curl=7.20.0
curl curl=7.20.1
curl curl=7.21.1

Event History

Oct 13, 2010
Data Sourced
01:40 PM
DescriptionSeverityAffected Software
Oct 27, 2010
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-3842?

CVE-2010-3842 has a medium severity level due to its ability to allow remote servers to create or overwrite arbitrary files.

2

How do I fix CVE-2010-3842?

To fix CVE-2010-3842, upgrade curl to version 7.21.2 or later, which addresses the vulnerability.

3

What versions of curl are affected by CVE-2010-3842?

CVE-2010-3842 affects curl versions 7.20.0 through 7.21.1.

4

What is the impact of CVE-2010-3842?

The impact of CVE-2010-3842 includes the potential for unauthorized file creation or overwriting on vulnerable systems.

5

Is CVE-2010-3842 a known vulnerability?

Yes, CVE-2010-3842 is a known vulnerability that was disclosed in October 2010.

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