{"answers":{"affected":"1 open source package ship an affected version, including couchdb. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-1955 in the wild and no public exploit code.","fix":"Upgrade couchdb to 3.0.1 or later.","what":"CVE-2020-1955 is a critical authentication bypass vulnerability in Apache CouchDB, published on 20 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-1955 and fix it if it is affected.\n\nWhat it is: CVE-2020-1955 is a critical authentication bypass vulnerability in Apache CouchDB, published on 20 May 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-1955 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- couchdb (Bitnami): affected from 3.0.0; fixed in 3.0.1\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-2020-1955/ (Markdown: https://insights.sbomify.com/CVE-2020-1955/index.md)","id":"CVE-2020-1955","markdown":"https://insights.sbomify.com/CVE-2020-1955/index.md","name":"CVE-2020-1955","record":{"aliases":["BIT-couchdb-2020-1955","GHSA-6625-2573-pv96"],"analysis":{"component_type":"database","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache CouchDB","requires_auth":"none","summary":"An authentication bypass in Apache CouchDB allows unauthenticated access to all endpoints when a specific non-default configuration is enabled.","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":"nvd","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-306","name":"Missing Authentication for Critical Functionality"}],"description":"CouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire database server called `require_valid_user_except_for_up`. It was meant as an extension to the long standing setting `require_valid_user`, which in turn requires that any and all requests to CouchDB will have to be made with valid credentials, effectively forbidding any anonymous requests. The new `require_valid_user_except_for_up` is an off-by-default setting that was meant to allow requiring valid credentials for all endpoints except for the `/_up` endpoint. However, the implementation of this made an error that lead to not enforcing credentials on any endpoint, when enabled. CouchDB versions 3.0.1[1] and 3.1.0[2] fix this issue.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Auth bypass in Apache CouchDB","id":"CVE-2020-1955","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"auth_bypass","year":"2020"},"n_packages":1,"n_references":1,"next":{"headline":"Apache Kylin OS Command Injection","id":"CVE-2020-1956"},"packages":[{"ecosystem":"Bitnami","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"couchdb","purl":"pkg:bitnami/couchdb","source":"BIT-couchdb-2020-1955"}],"prev":{"headline":"Apache CXF JMX Integration is vulnerable to a MITM attack","id":"CVE-2020-1954"},"products":["Apache CouchDB"],"published":"2020-05-20","related":[{"cvss_score":9.8,"headline":"Apache CouchDB Insecure Default Initialization of Resource","id":"CVE-2022-24706","kev_date_added":"2022-08-25","published":"2022-04-26"},{"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":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An authentication bypass in Apache CouchDB allows unauthenticated access to all endpoints when a specific non-default configuration is enabled.","url":"https://insights.sbomify.com/CVE-2020-1955/"}