CVE-2012-5641

Exp

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.

Published: 2014-03-18 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5641 is rated High Exploit Risk (73.1/100): CVSS Medium severity, with high exploitation likelihood (EPSS 8.95%, 95th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +5.21% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-5641

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-5641

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 3.73% 8.95% +5.21%
2 2026-03-04 4.38% 3.73% -0.65%
3 2025-12-28 4.38%

Full EPSS history (18 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-5641

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-5641

OS Trackers for CVE-2012-5641

vendor priority summary link
ubuntu low CVE-2012-5641 low priority: Ubuntu including 1 source packages (couchdb), 6 status rows across 6 suites (hardy, lucid, oneiric, precise, quantal, upstream): not-affected 4, DNE 1, released 1. https://ubuntu.com/security/CVE-2012-5641

Affected software / configurations for CVE-2012-5641

Vendor Product Version Raw CPE
apache couchdb <= 1.0.3 cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*
apache couchdb 1.0.0 cpe:2.3:a:apache:couchdb:1.0.0:*:*:*:*:*:*:*
apache couchdb 1.0.1 cpe:2.3:a:apache:couchdb:1.0.1:*:*:*:*:*:*:*
apache couchdb 1.0.2 cpe:2.3:a:apache:couchdb:1.0.2:*:*:*:*:*:*:*
apache couchdb 1.1.0 cpe:2.3:a:apache:couchdb:1.1.0:*:*:*:*:*:*:*
apache couchdb 1.1.1 cpe:2.3:a:apache:couchdb:1.1.1:*:*:*:*:*:*:*
apache couchdb 1.2.0 cpe:2.3:a:apache:couchdb:1.2.0:*:*:*:*:*:*:*
mochiweb_project mochiweb <= 2.3.2 cpe:2.3:a:mochiweb_project:mochiweb:*:*:*:*:*:*:*:*
mochiweb_project mochiweb 2.1.0 cpe:2.3:a:mochiweb_project:mochiweb:2.1.0:*:*:*:*:*:*:*
mochiweb_project mochiweb 2.2.0 cpe:2.3:a:mochiweb_project:mochiweb:2.2.0:*:*:*:*:*:*:*
mochiweb_project mochiweb 2.2.1 cpe:2.3:a:mochiweb_project:mochiweb:2.2.1:*:*:*:*:*:*:*
mochiweb_project mochiweb 2.3.0 cpe:2.3:a:mochiweb_project:mochiweb:2.3.0:*:*:*:*:*:*:*
mochiweb_project mochiweb 2.3.1 cpe:2.3:a:mochiweb_project:mochiweb:2.3.1:*:*:*:*:*:*:*

References for CVE-2012-5641

cvelogic Threat Intelligence