CVE-2012-5641: Apache CouchDB

Medium severity, CVSS 5.0. EPSS: 8.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Apache CouchDB: up to and including 1.0.3; version 1.0.0 only; version 1.0.1 only; version 1.0.2 only; version 1.1.0 only; version 1.1.1 only; …
  • Mochiweb Project Mochiweb: up to and including 2.3.2; version 2.1.0 only; version 2.2.0 only; version 2.2.1 only; version 2.3.0 only; version 2.3.1 only

Published 2014-03-18. Last modified 2026-06-16.