Advisory Published
Updated

REDHAT-BUG-642642

First published: Wed Oct 13 2010(Updated: )

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 <a href="https://access.redhat.com/security/cve/CVE-2010-2251">CVE-2010-2251</a>, <a href="https://access.redhat.com/security/cve/CVE-2010-2252">CVE-2010-2252</a> and <a href="https://access.redhat.com/security/cve/CVE-2010-2253">CVE-2010-2253</a>. 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] <a href="http://curl.haxx.se/docs/security.html">http://curl.haxx.se/docs/security.html</a> [2] <a href="http://curl.haxx.se/docs/adv_20101013.html">http://curl.haxx.se/docs/adv_20101013.html</a> Upstream patch: [3] <a href="http://curl.haxx.se/curl-content-disposition.patch">http://curl.haxx.se/curl-content-disposition.patch</a> Credit: Upstream acknowledges Dan Fandrich as the original reporter.

Affected SoftwareAffected VersionHow to fix
Curl

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-642642?

    The severity of REDHAT-BUG-642642 is considered a medium risk due to potential file manipulation vulnerabilities.

  • How do I fix REDHAT-BUG-642642?

    To fix REDHAT-BUG-642642, update to the latest version of cURL where this vulnerability has been addressed.

  • What are the potential impacts of REDHAT-BUG-642642?

    The potential impacts of REDHAT-BUG-642642 include unauthorized file creation or overwriting on the system by a remote server.

  • Which versions of cURL are affected by REDHAT-BUG-642642?

    Versions of cURL prior to the security fix for this vulnerability are affected by REDHAT-BUG-642642.

  • Who is affected by REDHAT-BUG-642642?

    Users of cURL on operating systems that use backslashes for directory separation are affected by REDHAT-BUG-642642.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203