{"answers":{"affected":"1 open source package ship an affected version, including couchdb. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-24706 in the wild since at least 25 Aug 2022.","fix":"Upgrade couchdb to 3.2.2 or later. US federal agencies must fix it by 15 Sep 2022.","what":"CVE-2022-24706 is a critical authentication bypass vulnerability in Apache CouchDB, published on 26 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24706 and fix it if it is affected.\n\nWhat it is: CVE-2022-24706 is a critical authentication bypass vulnerability in Apache CouchDB, published on 26 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-24706 in the wild since at least 25 Aug 2022.\n\nAffected packages and fixed versions:\n- couchdb (Bitnami): affected all versions; fixed in 3.2.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-24706/ (Markdown: https://insights.sbomify.com/CVE-2022-24706/index.md)","id":"CVE-2022-24706","markdown":"https://insights.sbomify.com/CVE-2022-24706/index.md","name":"CVE-2022-24706","record":{"aliases":["BIT-couchdb-2022-24706","GHSA-vxc9-8m8h-9cp6","MGASA-2022-0466"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache CouchDB","requires_auth":"none","summary":"Attackers can bypass authentication on improperly secured CouchDB installations to gain admin privileges and execute code.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"couchdb","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"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.","ecosystems":["Bitnami"],"exploits":{"exploitdb":1,"first_seen":"2022-01-21","github_poc":5,"max_poc_stars":29,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-05-20T04:28:51Z","kind":"github_poc","ref":"https://github.com/sadshade/CVE-2022-24706-CouchDB-Exploit","stars":29,"title":"Apache CouchDB 3.2.1 - Remote Code Execution (RCE)"},{"date":"2022-06-14T08:34:11Z","kind":"github_poc","ref":"https://github.com/ahmetsabrimert/Apache-CouchDB-CVE-2022-24706-RCE-Exploits-Blog-post-","stars":1,"title":"I wrote a blog post about Apache CouchDB CVE-2022-24706 RCE Exploits"},{"date":"2022-01-21","kind":"metasploit","ref":"exploit/multi/http/apache_couchdb_erlang_rce","stars":null,"title":"Apache Couchdb Erlang RCE"},{"date":"2022-05-11","kind":"exploitdb","ref":"50914","stars":null,"title":"Apache CouchDB 3.2.1 - Remote Code Execution (RCE)"},{"date":"2022-07-04T02:06:27Z","kind":"github_poc","ref":"https://github.com/superzerosec/CVE-2022-24706","stars":0,"title":"CVE-2022-24706 POC exploit"},{"date":"2024-10-08T07:02:30Z","kind":"github_poc","ref":"https://github.com/becrevex/CVE-2022-24706","stars":0,"title":"Apache CouchDB 3.2.1 - Remote Code Execution (RCE) Checker"},{"date":"2026-07-08T10:10:24Z","kind":"github_poc","ref":"https://github.com/junghyeonkum/CVE-2022-24706","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"network/cves/2022/CVE-2022-24706.yaml","stars":null,"title":"CouchDB Erlang Distribution - Remote Command Execution"}],"tier":"exploited"},"has_fix":true,"headline":"Apache CouchDB Insecure Default Initialization of Resource","id":"CVE-2022-24706","indexable":true,"kev":{"dateAdded":"2022-08-25","dueDate":"2022-09-15","knownRansomwareCampaignUse":"Unknown","product":"CouchDB","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apache","vulnerabilityName":"Apache CouchDB Insecure Default Initialization of Resource Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2022"},"n_packages":1,"n_references":10,"next":{"headline":"SQL injection in anuko timetracker","id":"CVE-2022-24707"},"packages":[{"ecosystem":"Bitnami","fixed":["3.2.2"],"introduced":["0"],"last_affected":[],"package":"couchdb","purl":"pkg:bitnami/couchdb","source":"BIT-couchdb-2022-24706"}],"prev":{"headline":"Buffer Overflow via Crafted Ipv6 Prefix Attribute Type Client Request in accel-ppp v1.12","id":"CVE-2022-24705"},"products":["Apache CouchDB"],"published":"2022-04-26","related":[{"cvss_score":9.8,"headline":"Auth bypass in Apache CouchDB","id":"CVE-2020-1955","kev_date_added":null,"published":"2020-05-20"},{"cvss_score":9.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2017-12635","kev_date_added":null,"published":"2017-11-14"},{"cvss_score":7.8,"headline":"Code injection in n/a","id":"CVE-2018-14889","kev_date_added":null,"published":"2018-09-21"},{"cvss_score":7.8,"headline":"Privilege escalation in Apache CouchDB","id":"CVE-2016-8742","kev_date_added":null,"published":"2018-02-12"},{"cvss_score":7.3,"headline":"Privilege escalation vulnerability when using HTML attachments","id":"CVE-2021-38295","kev_date_added":null,"published":"2021-10-14"},{"cvss_score":7.2,"headline":"Code injection in Apache CouchDB","id":"CVE-2018-17188","kev_date_added":null,"published":"2019-01-02"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Apache Software Foundation"]},"summary":"Attackers can bypass authentication on improperly secured CouchDB installations to gain admin privileges and execute code.","url":"https://insights.sbomify.com/CVE-2022-24706/"}