CVE-2017-12636 in the critical feed json
CouchDB administrative users can configure the database server via HTTP(S).
published 2017-11-14 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-4175
- cvss
- 7.2
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 90.6%
- EPSS 90.6% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 3
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- apache couchdb 1.7.0
- couchdb OpenStack Cloud 7, Enterprise Storage 4 1.7.2-2.8.2
suse advisories SUSE-SU-2018:2578-1
- couchdb Arch Linux 2.1.1-1
arch linux advisories AVG-495
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-12636 updated cvss 4.7
couchdb: OS Command injection as couchdb user via remote configuration options
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/http/apache_couchdb_cmd_exec)
- Published
Exploit prediction
90.60% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/apache_couchdb_cmd_exec Apache CouchDB Arbitrary Command Execution metasploit exploit, excellent rank, 2016-04-06
- EDB-45019 Apache CouchDB - Arbitrary Command Execution (Metasploit) remote, 2018-07-13
- EDB-44913 Apache CouchDB < 2.1.0 - Remote Code Execution webapps, 2018-06-20
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.2 | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected products
- Apache Software Foundation Apache CouchDB
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
exploit-db.com
/exploits/45019/
exploit
-
exploit-db.com
/exploits/44913/
exploit
-
security.gentoo.org
/glsa/201711-16
vendor-advisory, third-party-advisory
-
lists.apache.org
/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E
mailing-list
-
lists.debian.org
/debian-lts-announce/2018/01/msg00026.html
mailing-list
- support.hpe.com /hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us
Sources
- CVE List CVE-2017-12636
- NVD CVE-2017-12636
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.