CVE-2012-0036
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 16.1% chance of exploitation in the next 30 days (EPSS). Higher than most.
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 16.1% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 16.1% · EPSS, next 30 days
- Weakness
- CWE-89 · SQL injection
- Record status
- Modified
Affected
- Curl 7.20.0
- Curl 7.20.1
- Curl 7.21.0
- Curl 7.21.1
- Curl 7.21.2
- Curl 7.21.3
- Curl 7.21.4
- Curl 7.21.5
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-0036.md and follow it. Check whether this project is affected by CVE-2012-0036. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://curl.haxx.se/curl-url-sanitize.patch
- http://curl.haxx.se/docs/adv_20120124.html
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
- http://curl.haxx.se/curl-url-sanitize.patch
- http://curl.haxx.se/docs/adv_20120124.html
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
References
- http://curl.haxx.se/curl-url-sanitize.patch
- http://curl.haxx.se/docs/adv_20120124.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://secunia.com/advisories/48256
- http://security.gentoo.org/glsa/glsa-201203-02.xml
- http://support.apple.com/kb/HT5281
- http://www.debian.org/security/2012/dsa-2398
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:058
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://www.securityfocus.com/bid/51665
- http://www.securitytracker.com/id/1032924
- https://bugzilla.redhat.com/show_bug.cgi?id=773457
- https://github.com/bagder/curl/commit/75ca568fa1c19de4c5358fed246686de8467c238
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03760en_us
- http://curl.haxx.se/curl-url-sanitize.patch
- http://curl.haxx.se/docs/adv_20120124.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://secunia.com/advisories/48256
- http://security.gentoo.org/glsa/glsa-201203-02.xml
- http://support.apple.com/kb/HT5281
- http://www.debian.org/security/2012/dsa-2398
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:058
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html