cve.bz

CVE-2017-12636 apache couchdb: OS Command Injection

7.2 highExploitEPSS 91%

High (7.2) in apache couchdb. EPSS 91% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.2 high
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
91% (unchanged from 91% a week ago; 91% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-12636 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-12636?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-12636?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-12636 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:couchdbbefore 1.7.0
apache:couchdb2.0.0
apache:couchdb2.0.0:rc1
apache:couchdb2.0.0:rc2
apache:couchdb2.0.0:rc3
apache:couchdb2.0.0:rc4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7couchdb1.2.0-5+deb7u1DLA-1252-1
Ubuntu16.04:LTScouchdbno fix listedUBUNTU-CVE-2017-12636
SUSEEnterprise Storage 4, OpenStack Cloud 7couchdb1.7.2-2.8.2SUSE-SU-2018:2578-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache CouchDB Remote Code Execution 2 sid 2025741
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache CouchDB Remote Code Execution 3 sid 2025742
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache CouchDB Remote Code Execution 4 sid 2025743
  • Emerging Threats Open ET EXPLOIT Apache CouchDB JSON Remote Privesc Attempt (CVE-2017-12636) sid 2025432

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON