What’s Vulnerable › Vulnerabilities
CVE-2012-5641
- Severity: medium (CVSS 5.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 8.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2014-03-18 · updated 2026-06-16
- Weakness: CWE-22
Description
Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb before 2.4.0, as used in Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1, allows remote attackers to read arbitrary files via a ..\ (dot dot backslash) in the default URI.
Affected products
- Apache Software Foundation Apache CouchDB: through 1.0.3; 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.2.0
- Mochiweb Project Mochiweb: through 2.3.2; 2.1.0, 2.2.0, 2.2.1, 2.3.0, 2.3.1
References
- http://seclists.org/fulldisclosure/2013/Jan/81
- http://secunia.com/advisories/51765
- http://www.securityfocus.com/bid/57313
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81240
- https://github.com/melkote/mochiweb/commit/ac2bf
- https://github.com/mochi/mochiweb/issues/92
- http://seclists.org/fulldisclosure/2013/Jan/81
- http://secunia.com/advisories/51765
- http://www.securityfocus.com/bid/57313
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81240
- https://github.com/melkote/mochiweb/commit/ac2bf
- https://github.com/mochi/mochiweb/issues/92
Get alerted when CVE-2012-5641 or the next vulnerability affects your stack