CVE-2022-24706: Apache CouchDB Privilege Escalation

couchdb Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Critical
Not published

CVE-2022-24706: Remote Code Execution Vulnerability in Packaging. Affects couchdb versions < 3.2.2. Fixed in 3.2.2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache CouchDB is an open-source NoSQL database that uses JSON for data storage, replication, and querying. It provides a distributed, fault-tolerant, and scalable solution for managing data. CouchDB installations are recommended to be properly secured, including the use of firewalls. However, prior to version 3.2.2, an improperly secured default installation of CouchDB allows unauthorized access and potential privilege escalation.

Vulnerability Detail

The vulnerability (CVE-2022-24706) in Apache CouchDB allows an attacker to gain admin privileges without authentication on an improperly secured default installation. This can lead to unauthorized access, data manipulation, and potential compromise of the entire CouchDB instance. The CouchDB documentation has always emphasized the importance of securing installations, including the use of firewalls to protect against unauthorized access.

How To Fix

Minimum fixed version

3.2.2

This is the first release that contains the fix.

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

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to ensure that default installations of CouchDB are properly secured by following the CouchDB documentation's guidelines.

Conclusion

In conclusion, the vulnerability (CVE-2022-24706) in Apache CouchDB allows unauthorized access and potential privilege escalation on improperly secured default installations. To mitigate this vulnerability, it is crucial to upgrade to Apache CouchDB version 3.2.2 or later and follow the recommended security practices outlined in the CouchDB documentation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for couchdb →

Share this vulnerability

FAQ

Apache CouchDB is an open-source NoSQL database that uses JSON for data storage, replication, and querying. It provides a distributed, fault-tolerant, and scalable solution for managing data.

This vulnerability allows an attacker to gain admin privileges without authentication on an improperly secured default installation of Apache CouchDB. This can lead to unauthorized access, data manipulation, and potential compromise of the entire CouchDB instance.

To fix this vulnerability, it is crucial to upgrade to Apache CouchDB version 3.2.2 or later. This version includes the necessary security patches to prevent unauthorized access and privilege escalation. It is also recommended to follow the CouchDB documentation's guidelines for securing installations.

There is no specific workaround mentioned for this vulnerability. However, it is recommended to ensure that default installations of CouchDB are properly secured by following the CouchDB documentation's guidelines.

You can find more information about securing CouchDB installations in the CouchDB documentation. It provides guidelines and best practices for securing installations, including the use of firewalls.

Related vulnerabilities

Recent vulnerabilities recorded for couchdb.

How To Fix

Minimum fixed version

3.2.2

This is the first release that contains the fix.

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