RCE in Apache Couchdb

CVE-2017-12636

CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.906 (99.8th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-12636: rose from 0.879 to 0.906.

EPSS over last 30 days · oldest: 0.879 · newest: 0.906 · change: +0.027

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2017-12636?
CVE-2017-12636 is a high-severity vulnerability in Apache Couchdb, classified under OS Command Injection. CVSS score: 7.2/10. Published 2017-11-14.
How severe is CVE-2017-12636?
High severity. CVSS v3 base score is 7.2 out of 10.
Is CVE-2017-12636 known to be exploited?
27 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.