CVE-2012-5641

medium
Published 2014-03-18 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.0

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Application impact

VendorProductVersionsFixed
apache apachecouchdb{"endIncluding":"1.0.3"}
apache apachecouchdb1.0.0
apache apachecouchdb1.0.1
apache apachecouchdb1.0.2
apache apachecouchdb1.1.0
apache apachecouchdb1.1.1
apache apachecouchdb1.2.0
mochiweb_projectmochiweb{"endIncluding":"2.3.2"}
mochiweb_projectmochiweb2.1.0
mochiweb_projectmochiweb2.2.0
mochiweb_projectmochiweb2.2.1
mochiweb_projectmochiweb2.3.0
mochiweb_projectmochiweb2.3.1

References

CWEs

CWE-22

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

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