SQL Injection in Curl

CVE-2012-0036

curl and libcurl 7.2x before 7.24.0 do not properly consider special characters during extraction of a pathname from a URL, which allows remote attackers to conduct data-injection attacks via a crafted URL, as demonstrated by a CRLF injection attack on the (1) IMAP, (2) POP3, or (3) SMTP protocol.

Vulnerability class: SQL Injection

Published · last modified .

CVSS v2 metric

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

EPSS exploit prediction

EPSS 0.161, 97.0th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Curl — versions 7.20.0, 7.20.1, 7.21.0
  • Curl Libcurl — versions 7.20.0, 7.20.1, 7.21.0

Weakness classification (CWE)

References