CVE-2012-5641
CVE-2012-5641 is a medium-severity vulnerability in Apache Couchdb with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-22.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 9% (95th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-22
- Affected product: Apache Couchdb
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-5641?
- 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.
- How severe is CVE-2012-5641?
- CVE-2012-5641 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-5641 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 9% (95th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5641?
- CVE-2012-5641 primarily affects Apache Couchdb. In total, 13 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5641?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5641 published?
- CVE-2012-5641 was published on 2014-03-18 and last updated on 2026-06-16.
References
- http://seclists.org/fulldisclosure/2013/Jan/81
- http://secunia.com/advisories/51765
- http://www.securityfocus.com/bid/57313
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81240
- https://github.com/melkote/mochiweb/commit/ac2bf
- https://github.com/mochi/mochiweb/issues/92
Affected products (13)
- cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:apache:couchdb:1.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:*:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:2.1.0:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:2.2.0:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:2.2.1:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:2.3.0:*:*:*:*:*:*:*
- cpe:2.3:a:mochiweb_project:mochiweb:2.3.1:*:*:*:*:*:*:*
More vulnerabilities in Apache Couchdb
- CVE-2022-24706 — Critical (CVSS 9.8): In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without…
- CVE-2020-1955 — Critical (CVSS 9.8): CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire database…
- CVE-2017-12635 — Critical (CVSS 9.8): Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB…
- CVE-2018-14889 — High (CVSS 7.8): CouchDB in Vectra Networks Cognito Brain and Sensor before 4.3 contains a local code execution vulnerability.
- CVE-2016-8742 — High (CVSS 7.8): The Windows installer that the Apache CouchDB team provides was vulnerable to local privilege escalation. All files in…
- CVE-2021-38295 — High (CVSS 7.3): In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML…
All CVEs affecting Apache Couchdb →
Other CWE-22 (Path Traversal) vulnerabilities
- CVE-2026-48282 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Limitation of a Pathname to a Restricted…
- CVE-2026-54917 — Critical (CVSS 10.0): SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables. Prior to 4.30, the…
- CVE-2026-11429 — Critical (CVSS 10.0): Two endpoints in the Vault Service ScriptsController, shared by Altium Enterprise Server and Altium 365, accept file…
- CVE-2026-34909 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit a Path Traversal vulnerability found in UniFi OS devices to…
- CVE-2026-7411 — Critical (CVSS 10.0): In Eclipse BaSyx Java Server SDK versions prior to 2.0.0-milestone-10, inadequate path normalization in the Submodel…
- CVE-2026-36767 — Critical (CVSS 10.0): A path traversal vulnerability in the /content/images/add endpoint of shopizer v3.2.5 allows attackers write arbitrary…