CVE-2022-24706: In Apache CouchDB prior to 3.2.2, an attacker can access an improperly secured default installation without authenticating and gain admin privileges.
Critical CVSS 9.8
- CVE id
- CVE-2022-24706
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache CouchDB Runtimes and servers |
< 3.2.2 | 3.2.2 |
How to fix it
Upgrade Apache CouchDB to 3.2.2 or later.
- Install the patched CouchDB release (the couchdb image tag or your packages).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-24706 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-24706
- Web: https://docs.couchdb.org/en/3.2.2/setup/cluster.html
- Web: https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00
- Web: https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd
- Web: https://docs.couchdb.org/en/3.2.2/setup/cluster.html
- Web: https://lists.apache.org/thread/w24wo0h8nlctfps65txvk0oc5hdcnv00
- Web: https://medium.com/%40_sadshade/couchdb-erlang-and-cookies-rce-on-default-settings-b1e9173a4bcd
- Web: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-24706
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.