Security Update for CouchDB

couchdb Updated 02 Oct 2025

Summary

21/01/2018
N/A
Yes i
Unrated
Not published

DLA-1252-1: couchdb - security update. Affects couchdb versions < 1.2.0-5+deb7u1. Fixed in 1.2.0-5+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

CouchDB is a database management system that provides a document-oriented NoSQL database. It is designed to be scalable, fault-tolerant, and easy to use. CouchDB allows users to store, retrieve, and manage their data using a flexible JSON-based document model. However, two vulnerabilities have been discovered in CouchDB that could potentially allow unauthorized users to gain administrative privileges and execute arbitrary shell commands.

Vulnerability Detail

The first vulnerability, identified as CVE-2017-12635, allows non-admin users to grant themselves admin privileges. This could lead to unauthorized access and control over the CouchDB instance, potentially compromising the confidentiality, integrity, and availability of the stored data. The second vulnerability, CVE-2017-12636, involves the execution of arbitrary shell commands as the CouchDB user. Attackers could exploit this vulnerability to execute malicious commands, potentially leading to further compromise of the system.

How To Fix

Minimum fixed version

1.2.0-5+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade couchdb

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no specific workarounds mentioned for these vulnerabilities. However, as a general security practice, it is recommended to follow the principle of least privilege and restrict access to CouchDB instances only to authorized users. Regularly monitoring and reviewing user privileges can also help mitigate the risk of unauthorized access.

Conclusion

In conclusion, two vulnerabilities have been identified in CouchDB that could potentially allow unauthorized access and execution of arbitrary commands. It is crucial to upgrade the CouchDB packages to the fixed version to mitigate these vulnerabilities. Regular security practices, such as restricting access and monitoring user privileges, should also be followed. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for couchdb →

Share this vulnerability

FAQ

CouchDB is a document-oriented NoSQL database management system that provides a scalable and fault-tolerant solution for storing and retrieving data.

CVE-2017-12635 is a vulnerability in CouchDB that allows non-admin users to grant themselves admin privileges, potentially compromising the security of the system.

CVE-2017-12636 is a vulnerability in CouchDB that allows the execution of arbitrary shell commands as the CouchDB user, potentially leading to further compromise of the system.

To fix these vulnerabilities, it is recommended to upgrade the CouchDB packages to version 1.2.0-5+deb7u1 or later. Follow the official upgrade instructions provided by the Debian project.

There are no specific workarounds mentioned for these vulnerabilities. However, following the principle of least privilege and regularly reviewing user privileges can help mitigate the risk of unauthorized access.

Related vulnerabilities

Recent vulnerabilities recorded for couchdb.

How To Fix

Minimum fixed version

1.2.0-5+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade couchdb

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback