Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in…
Priority LOW 34CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.08945 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* | up to 1.0.3 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.0.0:*:*:*:*:*:*:* | 1.0.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.0.1:*:*:*:*:*:*:* | 1.0.1 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.0.2:*:*:*:*:*:*:* | 1.0.2 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.1.0:*:*:*:*:*:*:* | 1.1.0 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.1.1:*:*:*:*:*:*:* | 1.1.1 | Vulnerable | Apache |
| cpe:2.3:a:apache:couchdb:1.2.0:*:*:*:*:*:*:* | 1.2.0 | Vulnerable | Apache |
| cpe:2.3:a:mochiweb_project:mochiweb:*:*:*:*:*:*:*:* | up to 2.3.2 | Vulnerable | Mochiweb Project |
| cpe:2.3:a:mochiweb_project:mochiweb:2.1.0:*:*:*:*:*:*:* | 2.1.0 | Vulnerable | Mochiweb Project |
| cpe:2.3:a:mochiweb_project:mochiweb:2.2.0:*:*:*:*:*:*:* | 2.2.0 | Vulnerable | Mochiweb Project |
- cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:* Versions up to 1.0.3 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.0.0:*:*:*:*:*:*:* Versions 1.0.0 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.0.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.1.0:*:*:*:*:*:*:* Versions 1.1.0 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.1.1:*:*:*:*:*:*:* Versions 1.1.1 Vulnerable ·Apache
- cpe:2.3:a:apache:couchdb:1.2.0:*:*:*:*:*:*:* Versions 1.2.0 Vulnerable ·Apache
- cpe:2.3:a:mochiweb_project:mochiweb:*:*:*:*:*:*:*:* Versions up to 2.3.2 Vulnerable ·Mochiweb Project
- cpe:2.3:a:mochiweb_project:mochiweb:2.1.0:*:*:*:*:*:*:* Versions 2.1.0 Vulnerable ·Mochiweb Project
- cpe:2.3:a:mochiweb_project:mochiweb:2.2.0:*:*:*:*:*:*:* Versions 2.2.0 Vulnerable ·Mochiweb Project
Show 3 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mochiweb_project:mochiweb:2.2.1:*:*:*:*:*:*:* | 2.2.1 | Vulnerable | Mochiweb Project |
| cpe:2.3:a:mochiweb_project:mochiweb:2.3.0:*:*:*:*:*:*:* | 2.3.0 | Vulnerable | Mochiweb Project |
| cpe:2.3:a:mochiweb_project:mochiweb:2.3.1:*:*:*:*:*:*:* | 2.3.1 | Vulnerable | Mochiweb Project |
- cpe:2.3:a:mochiweb_project:mochiweb:2.2.1:*:*:*:*:*:*:* Versions 2.2.1 Vulnerable ·Mochiweb Project
- cpe:2.3:a:mochiweb_project:mochiweb:2.3.0:*:*:*:*:*:*:* Versions 2.3.0 Vulnerable ·Mochiweb Project
- cpe:2.3:a:mochiweb_project:mochiweb:2.3.1:*:*:*:*:*:*:* Versions 2.3.1 Vulnerable ·Mochiweb Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2012-5641
- 2026-10-03 Alias added: GHSA-99r9-958v-rr3x
References
Sources
- CVE-2012-5641 · CVE Program
- CVE-2012-5641 · NVD
- FIRST EPSS
- GHSA-99r9-958v-rr3x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences