Skip to main content

Couchdb CVE-2017-12636

HIGH
OS Command Injection (CWE-78)
2017-11-14 security@apache.org
7.2
CVSS 3.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS score of 7.2 (HIGH). Attack characteristics: network attack vector, low complexity, high privileges required, no user interaction not required. Public proof-of-concept exploit code is available. EPSS exploitation probability: 93.81%.

Exploit ScenarioDerived

A remote attacker could execute arbitrary operating system commands on the host by sending crafted requests to the affected application.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
No patch listed yet 93.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

CouchDB administrative users can configure the database server via HTTP(S). Rated high severity (CVSS 7.2), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available and EPSS exploitation probability 93.8%.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Avoid passing user input to shell commands. Use language-specific APIs instead of shell execution. Apply strict input validation with allowlists.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as OS Command Injection (CWE-78), which allows attackers to execute arbitrary operating system commands on the host. 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. Affected products include: Apache Couchdb. Version information: before 1.7.0.

Know when Couchdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

Threat Score
5.8/10
Composite threat intelligence
EPSS Score
93.8%
Top 0% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 93.8%
Patch available No
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Active
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
High

Priority Score

165
Low Medium High Critical
KEV: 0
EPSS: +94
CVSS: +36
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Affected Products (CPE)CVE.org

cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*
cpe:2.3:a:apache:couchdb:2.0.0:*:*:*:*:*:*:*
cpe:2.3:a:apache:couchdb:2.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:apache:couchdb:2.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:apache:couchdb:2.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:apache:couchdb:2.0.0:rc4:*:*:*:*:*:*
CVE-2017-12635 CRITICAL POC
9.8 Nov 14

Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB be

CVE-2014-2668 MEDIUM POC
5.0 Mar 28

Apache CouchDB 1.5.0 and earlier allows remote attackers to cause a denial of service (CPU and memory consumption) via t

CVE-2022-24706 CRITICAL POC
9.8 Apr 26

In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticati

CVE-2018-8007 HIGH POC
7.2 Jul 11

Apache CouchDB administrative users can configure the database server via HTTP(S). Rated high severity (CVSS 7.2), this

CVE-2020-1955 CRITICAL
9.8 May 20

CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire database server

CVE-2012-5641 MEDIUM POC
5.0 Mar 18

Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb before 2.4.0, as used in A

CVE-2018-14889 HIGH
7.8 Sep 21

CouchDB in Vectra Networks Cognito Brain and Sensor before 4.3 contains a local code execution vulnerability. Rated high

CVE-2021-38295 HIGH
7.3 Oct 14

In Apache CouchDB, a malicious user with permission to create documents in a database is able to attach a HTML attachmen

CVE-2018-11769 HIGH
7.2 Aug 08

CouchDB administrative users before 2.2.0 can configure the database server via HTTP(S). Rated high severity (CVSS 7.2),

CVE-2012-5649 MEDIUM
6.8 May 23

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 execute arbitrary cod

CVE-2023-45725 MEDIUM
5.7 Dec 13

Design document functions which receive a user http request object may expose authorization or session cookie headers of

CVE-2023-26268 MEDIUM
5.3 May 02

Design documents with matching document IDs, from databases on the same cluster, may share a mutable Javascript environm

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy