Skip to content
On CISA KEVCritical

CVE-2017-12635Couchdb Vulnerability

couchdb - security update

Published Nov 14, 2017 · Updated Oct 24, 2026 · Also known as DEBIAN-CVE-2017-12635, DEBIAN-CVE-2017-12636, DLA-1252-1, UBUNTU-CVE-2017-12635

Key Facts

Patch immediately
  • CVE-2017-12635 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Couchdb (Apache).
  • It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Oct 14, 2023. Public exploit code is available.
  • EPSS estimates a 100% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Couchdb 1.7.0, Couchdb 1.2.0-5+deb7u1, Couchdb 2.1.1-1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

9.8

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

100%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

86/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Oct 14, 2023

2160 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

12

Reports of active use

Description

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 arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user.

By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CIRCL KEVOct 14, 2023n/aNot reported
Industry KEV feedOct 14, 2023n/aNot reported

Affected Products

10 affected entries in total
ProductAffected versionsFixed in
CouchdbApache2.0.0, 2.0.0-rc1, 2.0.0-rc2, 2.0.0-rc3, 2.0.0-rc4, >= 1.2.0 to 1.6.11.7.0

Patched Releases

Couchdb

1.7.0, 1.2.0-5+deb7u1, 2.1.1-1

Timeline

  1. Publicly disclosed

    Nov 14, 2017

  2. Added to CIRCL KEV

    Oct 14, 2023

  3. Added to Industry KEV feed

    Oct 14, 2023

  4. Last updated

    Oct 24, 2026

Weakness Type

  • CWE-269 Improper Privilege Management

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2017-12635 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.