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.
curl.haxx.se/curl-url-sanitize.patch
curl.haxx.se/docs/adv_20120124.html
h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
lists.apple.com/archives/security-announce/2012/May/msg00001.html
secunia.com/advisories/48256
security.gentoo.org/glsa/glsa-201203-02.xml
support.apple.com/kb/HT5281
www.debian.org/security/2012/dsa-2398
www.mandriva.com/security/advisories?name=MDVSA-2012:058
www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
www.securityfocus.com/bid/51665
www.securitytracker.com/id/1032924
bugzilla.redhat.com/show_bug.cgi?id=773457
github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us