{"answers":{"affected":"2 open source packages ship an affected version, including org.openrefine:database. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41887 exists.","fix":"Upgrade org.openrefine:database to 3.7.5 or later.","what":"CVE-2023-41887 is a critical code injection vulnerability in OpenRefine, published on 15 Sep 2023. 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-41887 and fix it if it is affected.\n\nWhat it is: CVE-2023-41887 is a critical code injection vulnerability in OpenRefine, published on 15 Sep 2023. 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-41887 exists.\n\nAffected packages and fixed versions:\n- org.openrefine:database (Maven): affected all versions; fixed in 3.7.5\n- org.openrefine:database (Maven): affected all versions; fixed in 3.7.5\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-41887/ (Markdown: https://insights.sbomify.com/CVE-2023-41887/index.md)","id":"CVE-2023-41887","markdown":"https://insights.sbomify.com/CVE-2023-41887/index.md","name":"CVE-2023-41887","record":{"aliases":["DEBIAN-CVE-2023-41887","GHSA-p3r5-x3hr-gpg5","UBUNTU-CVE-2023-41887"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenRefine data tool","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary code on the server via malicious JDBC URLs during project import in OpenRefine.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"openrefine","vendor":"openrefine"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","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-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, a remote code execution vulnerability allows any unauthenticated user to execute code on the server. Version 3.7.5 has a patch for this issue.","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":"Remote Code exec in project import with mysql jdbc url attack","id":"CVE-2023-41887","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":2,"next":{"headline":"Phishing through a login page malicious URL in GLPI","id":"CVE-2023-41888"},"packages":[{"ecosystem":"Maven","fixed":["3.7.5"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:database","purl":null,"source":"GHSA-p3r5-x3hr-gpg5"},{"ecosystem":"Maven","fixed":["3.7.5"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:database","purl":"pkg:maven/org.openrefine/database","source":"GHSA-p3r5-x3hr-gpg5"}],"prev":{"headline":"OpenRefine vulnerable to arbitrary file read in project import with mysql jdbc url attack","id":"CVE-2023-41886"},"products":["OpenRefine"],"published":"2023-09-15","related":[{"cvss_score":8.1,"headline":"Reflected cross-site scripting vulnerability (XSS) in GData extension (authorized.vt)","id":"CVE-2024-47878","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":8.1,"headline":"OpenRefine has a reflected cross-site scripting vulnerability from POST request in ExportRowsCommand","id":"CVE-2024-47880","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":8.1,"headline":"OpenRefine's SQLite integration allows filesystem access, remote code execution (RCE)","id":"CVE-2024-47881","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":7.6,"headline":"OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF)","id":"CVE-2024-47879","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":7.5,"headline":"OpenRefine JDBC Attack Vulnerability","id":"CVE-2024-23833","kev_date_added":null,"published":"2024-02-12"},{"cvss_score":7.5,"headline":"OpenRefine vulnerable to arbitrary file read in project import with mysql jdbc url attack","id":"CVE-2023-41886","kev_date_added":null,"published":"2023-09-15"}],"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":"2024-09-25","vendors":["OpenRefine"]},"summary":"Unauthenticated attackers can execute arbitrary code on the server via malicious JDBC URLs during project import in OpenRefine.","url":"https://insights.sbomify.com/CVE-2023-41887/"}