CWE
78
Advisory Published
Updated

CVE-2017-12636: OS Command Injection

First published: Tue Nov 14 2017(Updated: )

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.

Credit: security@apache.org

Affected SoftwareAffected VersionHow to fix
Apache CouchDB<1.7.0
Apache CouchDB=2.0.0
Apache CouchDB=2.0.0-rc1
Apache CouchDB=2.0.0-rc2
Apache CouchDB=2.0.0-rc3
Apache CouchDB=2.0.0-rc4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-12636?

    CVE-2017-12636 is considered a critical vulnerability due to its ability to allow arbitrary command execution by an administrative user.

  • How do I fix CVE-2017-12636?

    To fix CVE-2017-12636, upgrade Apache CouchDB to version 1.7.0 or higher, or to version 2.1.1 or higher.

  • Who is affected by CVE-2017-12636?

    CVE-2017-12636 affects Apache CouchDB versions before 1.7.0 and 2.x before 2.1.1.

  • What can an attacker do with CVE-2017-12636?

    An attacker with access to CouchDB administrative capabilities can execute arbitrary system-level commands through configured binary paths.

  • Is there a workaround for CVE-2017-12636?

    As a workaround for CVE-2017-12636, restrict administrative access and avoid using vulnerable versions until the software is upgraded.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203