CVE-2017-12635: Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache
CVE-2017-12635 is a critical-severity flaw (CVSS 9.8) affecting couchdb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitr
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.8% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-269 |
| Published | 2017-11-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: assalielmehdi/CVE-2017-12635 (10 stars)
- GitHub PoC: cyberharsh/Apache-couchdb-CVE-2017-12635 (1 stars)
- GitHub PoC: Dungsocool/CVE-2017-12635_36 (0 stars)
- Exploit-DB: Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)
- Exploit-DB: Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation
- Metasploit: CouchDB Enum Utility
- Metasploit: Apache CouchDB Arbitrary Command Execution
- Nuclei scan template: Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12635?
couchdb: upgrade to 1.7.0. Exact commands for each OS are on this page.
Is CVE-2017-12635 being exploited?
CVE-2017-12635 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12635 affect?
CVE-2017-12635 affects couchdb. Severity is critical (CVSS 9.8). Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control withi
How urgent is CVE-2017-12635?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Related CVEs
- CVE-2023-45725 MEDIUM 5.7 UPGRADE Design document functions which receive a user http request object may expose authorization or session cookie
- CVE-2023-26268 MEDIUM 4.4 UPGRADE UPGRADE Design documents with matching document IDs, from databases on the same cluster, may share a mutable Javascrip
- CVE-2022-24706 CRITICAL 9.8 EXPLOITED UPGRADE Apache CouchDB Insecure Default Initialization of Resource Vulnerability
- CVE-2021-38295 HIGH 7.3 UPGRADE In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML
- CVE-2020-1955 CRITICAL 9.8 DOWNGRADE CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire datab