{"id":"CVE-2012-5641","aliases":["EUVD-2012-5525","GHSA-99r9-958v-rr3x"],"status":"published","title":"Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb...","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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.08945,"percentile":0.95276,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2014-03-18T14:00:00Z","modified":"2026-06-16T23:47:08Z","products":[{"vendor":"apache","product":"couchdb"},{"vendor":"mochiweb_project","product":"mochiweb"}],"references":[{"url":"http://www.securityfocus.com/bid/57313","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2013/Jan/81","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://secunia.com/advisories/51765","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://github.com/mochi/mochiweb/issues/92","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://github.com/melkote/mochiweb/commit/ac2bf","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5641"},{"url":"https://github.com/advisories/GHSA-99r9-958v-rr3x"}],"sources":{"cve":[{"id":"CVE-2012-5641","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.","status":"published","published":"2014-03-18T14:00:00Z","modified":"2024-08-06T21:14:16.193Z","updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2012-5525","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.","status":"published","published":"2014-03-18T14:00:00Z","modified":"2024-08-06T21:14:16Z","updated_at":"2026-11-03T01:56:04.46975Z"}],"ghsa":[{"id":"GHSA-99r9-958v-rr3x","title":"Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb...","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.","status":"published","published":"2022-05-17T01:39:17Z","modified":"2023-02-03T05:04:54Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:53:38.626767Z"}],"nvd":[{"id":"CVE-2012-5641","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.","status":"published","published":"2014-03-18T17:02:49.637Z","modified":"2026-06-16T23:47:08.41Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:02:17.375282Z"}]}}
