CVE-2022-24706
Description
In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges. The CouchDB documentation has always made recommendations for properly securing an installation, including recommending using a firewall in front of all CouchDB installations.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
92.510%
chance of exploitation in the next 30 days
higher than 99.8% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-08-25
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 1
Nuclei templates: 1
Exploit-DB: 1
Weakness
- CWE-1188: Initialization of a Resource with an Insecure Default
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Apache CouchDB Insecure Default Initialization of Resource Vulnerability |
|---|---|
| Vendor / product | Apache / CouchDB |
| Date added | 2022-08-25 |
| Federal remediation due date | 2022-09-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-01-29 |
Timeline
- 2022-04-26Published by the CNA00:00 UTC
- 2022-05-11First Exploit-DB entry (EDB-ID 50914)15 days after publication
- 2022-08-25Added to the CISA KEV catalog121 days after publication
- 2025-01-29CISA SSVC decision recorded1009 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 50914 | remote | linux | 2022-05-11 | no |
Nuclei templates:
- CVE-2022-24706: CouchDB Erlang Distribution - Remote Command Execution
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache couchdb | before 3.2.2fixed in 3.2.2 | 3.2.2 |
References
- http://www.openwall.com/lists/oss-security/2022/05/09/2
- http://www.openwall.com/lists/oss-security/2022/05/09/3
- http://www.openwall.com/lists/oss-security/2022/05/09/4
- https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00
- http://packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remote-Code-Execution.html
- http://packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Remote-Code-Execution.html
- https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd
- http://www.openwall.com/lists/oss-security/2022/04/26/1
- http://www.openwall.com/lists/oss-security/2022/05/09/1
- https://docs.couchdb.org/en/3.2.2/setup/cluster.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24706
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-24706'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-24706'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-24706'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-24706'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-24706'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).