CVE-2022-24706
Confirmed PUBLISHEDRemote Code Execution Vulnerability in Packaging
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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.
- CVE Published
- Apr 26, 2022
- Exploitation Reported
- Aug 25, 2022
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Apache Software Foundation |
Apache CouchDB
|
Apache CouchDB to <= 3.2.1 |
Affected |
CVE References
- [oss-security] 20220426 CVE-2022-24706: Apache CouchDB: Remote Code Execution Vulnerability in Packaging openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/04/26/1
- [oss-security] 20220509 Re: CVE-2022-24706: Apache CouchDB: Remote Code Execution Vulnerability in Packaging openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/05/09/1
- [oss-security] 20220509 Re: CVE-2022-24706: Apache CouchDB: Remote Code Execution Vulnerability in Packaging openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/05/09/3
- [oss-security] 20220509 Re: CVE-2022-24706: Apache CouchDB: Remote Code Execution Vulnerability in Packaging openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/05/09/4
- [oss-security] 20220509 Re: CVE-2022-24706: Apache CouchDB: Remote Code Execution Vulnerability in Packaging openwall.com · Mailing List http://www.openwall.com/lists/oss-security/2022/05/09/2
Show 5 more references
- Apache Mailing List lists.apache.org · CVE Record https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00
- docs.couchdb.org/en/3.2.2/setup/cluster.html docs.couchdb.org · CVE Record https://docs.couchdb.org/en/3.2.2/setup/cluster.html
- packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remote-Cod... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/167032/Apache-CouchDB-3.2.1-Remo...
- medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-... medium.com · CVE Record https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-def...
- packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Remote-Co... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/169702/Apache-CouchDB-Erlang-Rem...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2022-08-25 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2022/CVE-2022-24706.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_couchdb_erlang_rce.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2022-08-25 00:00:00 UTC · CISA
Proof of concept available
Recorded 2022-05-20 04:28:51 UTC · GitHub
Weaknesses (CWE)
-
Initialization of a Resource with an Insecure Default
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_couchdb_erlang_rce.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2022/CVE-2022-24706.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2022-05-20 04:28:51 UTC · 29 stars
Apache CouchDB 3.2.1 - Remote Code Execution (RCE)
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC almost 4 years ago00:00 UTC · almost 4 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
04:28 UTC about 4 years ago04:28 UTC · about 4 years ago
Public PoC available
Public proof-of-concept code published
-
00:00 UTC about 4 years ago00:00 UTC · about 4 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 4 years ago00:00 UTC · over 4 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2022-24706
{
"cve_id": "CVE-2022-24706",
"title": "Remote Code Execution Vulnerability in Packaging",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache CouchDB",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}