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,...
Medium CVSS 5.0
- CVE id
- CVE-2012-5641
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache CouchDB Runtimes and servers |
<= 1.0.3 | after 1.0.3 |
How to fix it
Upgrade Apache CouchDB to a release newer than 1.0.3.
- Install the patched CouchDB release (the couchdb image tag or your packages).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2012-5641 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2012-5641
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/81240
- Web: https://github.com/melkote/mochiweb/commit/ac2bf
- Web: https://github.com/mochi/mochiweb/issues/92
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/81240
- Web: https://github.com/melkote/mochiweb/commit/ac2bf
- Web: https://github.com/mochi/mochiweb/issues/92
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.