CVE-2022-24706
Remote Code Execution Vulnerability in Packaging
Also known as EDB-50914
Mitigation
- Vendor workaround: CouchDB 3.2.2 and onwards will refuse to start with the former default
- Erlang cookie value of `monster`. Installations that upgrade to this
- versions are forced to choose a different value.
- In addition, all binary packages have been updated to bind `epmd` as
- well as the CouchDB distribution port to `127.0.0.1` and/or `::1`
- respectively.
Who should check
- Anyone running Apache Software Foundation Apache CouchDB >= Apache CouchDB, <= 3.2.1
Vulnerability facts
- Affected
- Apache Software Foundation Apache CouchDB >= Apache CouchDB, <= 3.2.1
- Fixed in
- No fix listed yet
- Exploited in the wild
- Yes: in CISA KEV since 2022-08-25; federal due date 2022-09-15
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 97.15% chance of exploitation in 30 days (percentile 100, 2026-11-26)
- CWE
- CWE-1188
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Apache Software Foundation Apache CouchDB | >= Apache CouchDB, <= 3.2.1 | — | cvelist |
Timeline
- 2022-04-26 Published
- 2022-08-25 Added to CISA KEV (exploited in the wild)
- 2022-09-15 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-24706. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-24706.md Affected: Apache Software Foundation Apache CouchDB >= Apache CouchDB, <= 3.2.1 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for Apache Software Foundation Apache CouchDB: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
- http://packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remote-Code-Execution.html
- https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd
- http://packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Remote-Code-Execution.html
- https://www.exploit-db.com/exploits/50914
FAQ
Is CVE-2022-24706 being exploited?
Yes. CISA lists CVE-2022-24706 in its Known Exploited Vulnerabilities catalog since 2022-08-25, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 97.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-24706?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-24706?
Apache Software Foundation Apache CouchDB >= Apache CouchDB, <= 3.2.1.
Is there a fix for CVE-2022-24706?
No fixed version is listed in the sources yet. Vendor workaround: CouchDB 3.2.2 and onwards will refuse to start with the former default Erlang cookie value of `monster`. Installations that upgrade to this versions are forced to choose a different value. In addition, all binary packages have been updated to bind `epmd` as well as the CouchDB distribution port to `127.0.0.1` and/or `::1` respectively.
How do I check if I'm affected by CVE-2022-24706?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.