CVE-2012-5641Apache Couchdb
Medium 5.0 No auth needed
Follow: this CVE · Apache · Apache Couchdb We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 8.9% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Mar 18, 2014
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Couchdb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | couchdb | ≤ 1.0.3 |
| apache | couchdb | 1.0.0 |
| apache | couchdb | 1.0.1 |
| apache | couchdb | 1.0.2 |
| apache | couchdb | 1.1.0 |
| apache | couchdb | 1.1.1 |
| apache | couchdb | 1.2.0 |
| mochiweb_project | mochiweb | ≤ 2.3.2 |
| mochiweb_project | mochiweb | 2.1.0 |
| mochiweb_project | mochiweb | 2.2.0 |
| mochiweb_project | mochiweb | 2.2.1 |
| mochiweb_project | mochiweb | 2.3.0 |
| mochiweb_project | mochiweb | 2.3.1 |
Official sources
References
Links published by the sources. Open them with care.