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)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.017, 77.8th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Curl — versions 7.21.1, 7.20.0, 7.20.1

Weakness classification (CWE)

References