Path Traversal in Curl

CVE-2010-3842

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.017 (74.8th percentile) — read the EPSS interpretation.

Affected products

  • Curl — versions 7.21.1, 7.20.0, 7.20.1
  • N/a — versions n/a

Weakness classification (CWE)

References