# CVE-2012-5641

- Priority: **Routine**
- Reason: Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2014-03-18 · Modified: 2024-08-06
- Record: https://cvemate.com/vulnerability/CVE-2012-5641 · JSON: https://cvemate.com/vulnerability/CVE-2012-5641/json

## Description

```text
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.
```

## Signals

- CVSS: 5 medium (v2.0, NVD) AV:N/AC:L/Au:N/C:P/I:N/A:N
- EPSS: 8.945%, percentile 95.383%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- apache couchdb: ≤ 1.0.3 \| 1.0.0 \| 1.0.1 \| 1.0.2 \| 1.1.0 \| 1.1.1 \| 1.2.0
- mochiweb\_project mochiweb: ≤ 2.3.2 \| 2.1.0 \| 2.2.0 \| 2.2.1 \| 2.3.0 \| 2.3.1

## References

- <http://www.securityfocus.com/bid/57313>
- <http://seclists.org/fulldisclosure/2013/Jan/81>
- <http://secunia.com/advisories/51765>
- <https://github.com/mochi/mochiweb/issues/92>
- <https://exchange.xforce.ibmcloud.com/vulnerabilities/81240>
- <https://github.com/melkote/mochiweb/commit/ac2bf>

---

Data as of 2026-12-05T03:33:13.237Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
