CVE-2012-0036

high
Published 2012-04-13 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker ยท View original โ†— ยท DFSG

CVE-2012-0036 NameCVE-2012-0036 Descriptioncurl 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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc,โ€ฆ

CVE-2012-0036

NameCVE-2012-0036
Descriptioncurl 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-2398-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)bullseye7.74.0-1.3+deb11u13fixed
bullseye (security)7.74.0-1.3+deb11u16fixed
bookworm7.88.1-10+deb12u14fixed
bookworm (security)7.88.1-10+deb12u5fixed
trixie8.14.1-2+deb13u3fixed
forky8.20.0-2fixed
sid8.20.0-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsourcelenny7.18.2-8lenny6DSA-2398-1
curlsourcesqueeze7.21.0-2.1+squeeze1DSA-2398-1
curlsource(unstable)7.24.0-1

Notes

[lenny] - curl <not-affected> (Only affects 7.20.0 to 7.23.1)
http://curl.haxx.se/docs/adv_20120124.html

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[lenny] - curl <not-affected> (Only affects 7.20.0 to 7.23.1)http://curl.haxx.se/docs/adv_20120124.html

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 7.24.0-1
sid Fixed 7.24.0-1
forky Fixed 7.24.0-1
bullseye Fixed 7.24.0-1
bookworm Fixed 7.24.0-1

Application impact

VendorProductVersionsFixed
curlcurl7.20.0
curlcurl7.20.1
curlcurl7.21.0
curlcurl7.21.1
curlcurl7.21.2
curlcurl7.21.3
curlcurl7.21.4
curlcurl7.21.5
curlcurl7.21.6
curlcurl7.21.7
curlcurl7.22.0
curlcurl7.23.0
curlcurl7.23.1
curllibcurl7.20.0
curllibcurl7.20.1
curllibcurl7.21.0
curllibcurl7.21.1
curllibcurl7.21.2
curllibcurl7.21.3
curllibcurl7.21.4
curllibcurl7.21.5
curllibcurl7.21.6
curllibcurl7.21.7
curllibcurl7.22.0
curllibcurl7.23.0
curllibcurl7.23.1

References

CWEs

CWE-89

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.