Live threats

All CVEs / Apache

CVE-2012-5641Apache Couchdb

Medium 5.0 No auth needed

Priority
46
CVSS 2.0
5.0
EPSS
8.9%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Mar 18, 2014
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Couchdb.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachecouchdb≤ 1.0.3
apachecouchdb1.0.0
apachecouchdb1.0.1
apachecouchdb1.0.2
apachecouchdb1.1.0
apachecouchdb1.1.1
apachecouchdb1.2.0
mochiweb_projectmochiweb≤ 2.3.2
mochiweb_projectmochiweb2.1.0
mochiweb_projectmochiweb2.2.0
mochiweb_projectmochiweb2.2.1
mochiweb_projectmochiweb2.3.0
mochiweb_projectmochiweb2.3.1

Official sources

References

Links published by the sources. Open them with care.