{"answers":{"affected":"8 open source packages ship an affected version, including io.crate:crate. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-51982 exists.","fix":"Upgrade io.crate:crate to a fixed version for your release line: 5.2.11, 5.3.8, 5.4.7 or 5.5.2.","what":"CVE-2023-51982 is a critical authentication bypass vulnerability in n/a, published on 30 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-51982 and fix it if it is affected.\n\nWhat it is: CVE-2023-51982 is a critical authentication bypass vulnerability in n/a, published on 30 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-51982 exists.\n\nAffected packages and fixed versions:\n- io.crate:crate (Maven): affected all versions; fixed in 5.2.11\n- io.crate:crate (Maven): affected all versions; fixed in 5.2.11\n- io.crate:crate (Maven): affected from 5.3.0; fixed in 5.3.8\n- io.crate:crate (Maven): affected from 5.3.0; fixed in 5.3.8\n- io.crate:crate (Maven): affected from 5.4.0; fixed in 5.4.7\n- io.crate:crate (Maven): affected from 5.4.0; fixed in 5.4.7\n- io.crate:crate (Maven): affected from 5.5.0; fixed in 5.5.2\n- io.crate:crate (Maven): affected from 5.5.0; fixed in 5.5.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-2023-51982/ (Markdown: https://insights.sbomify.com/CVE-2023-51982/index.md)","id":"CVE-2023-51982","markdown":"https://insights.sbomify.com/CVE-2023-51982/index.md","name":"CVE-2023-51982","record":{"aliases":["GHSA-7mgx-gvjw-m3w3"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"CrateDB database","requires_auth":"none","summary":"Attackers can bypass authentication in CrateDB Admin UI by spoofing the X-Real IP header when local password auth is configured.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cratedb","vendor":"cratedb"}],"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-287","name":"Improper Authentication"}],"description":"CrateDB 5.5.1 is contains an authentication bypass vulnerability in the Admin UI component. After configuring password authentication and_ Local_ In the case of an address, identity authentication can be bypassed by setting the X-Real IP request header to a specific value and accessing the Admin UI directly using the default user identity.(https://github.com/crate/crate/issues/15231)","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"CrateDB authentication bypass vulnerability","id":"CVE-2023-51982","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":8,"n_references":1,"next":{"headline":"Command injection in n/a","id":"CVE-2023-51984"},"packages":[{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["0"],"last_affected":[],"package":"io.crate:crate","purl":null,"source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.2.11"],"introduced":["0"],"last_affected":[],"package":"io.crate:crate","purl":"pkg:maven/io.crate/crate","source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.3.8"],"introduced":["5.3.0"],"last_affected":[],"package":"io.crate:crate","purl":null,"source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.3.8"],"introduced":["5.3.0"],"last_affected":[],"package":"io.crate:crate","purl":"pkg:maven/io.crate/crate","source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"io.crate:crate","purl":null,"source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.4.7"],"introduced":["5.4.0"],"last_affected":[],"package":"io.crate:crate","purl":"pkg:maven/io.crate/crate","source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.5.2"],"introduced":["5.5.0"],"last_affected":[],"package":"io.crate:crate","purl":null,"source":"GHSA-7mgx-gvjw-m3w3"},{"ecosystem":"Maven","fixed":["5.5.2"],"introduced":["5.5.0"],"last_affected":[],"package":"io.crate:crate","purl":"pkg:maven/io.crate/crate","source":"GHSA-7mgx-gvjw-m3w3"}],"prev":{"headline":"SQL injection in n/a","id":"CVE-2023-51978"},"products":["n/a"],"published":"2024-01-30","related":[{"cvss_score":5.7,"headline":"CrateDB database has an arbitrary file read vulnerability","id":"CVE-2024-24565","kev_date_added":null,"published":"2024-01-30"},{"cvss_score":5.3,"headline":"Client initialized Session-Renegotiation DoS","id":"CVE-2024-37309","kev_date_added":null,"published":"2024-06-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-29","vendors":["n/a"]},"summary":"Attackers can bypass authentication in CrateDB Admin UI by spoofing the X-Real IP header when local password auth is configured.","url":"https://insights.sbomify.com/CVE-2023-51982/"}