{"answers":{"affected":"2 open source packages ship an affected version, including org.openrefine:openrefine. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-49760 in the wild and no public exploit code.","fix":"Upgrade org.openrefine:openrefine to 3.8.3 or later.","what":"CVE-2024-49760 is a high-severity vulnerability in OpenRefine, published on 24 Oct 2024."},"fix_prompt":"Check this codebase for CVE-2024-49760 and fix it if it is affected.\n\nWhat it is: CVE-2024-49760 is a high-severity vulnerability in OpenRefine, published on 24 Oct 2024. \nExploitation: There is no known exploitation of CVE-2024-49760 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.openrefine:openrefine (Maven): affected all versions; fixed in 3.8.3\n- org.openrefine:openrefine (Maven): affected all versions; fixed in 3.8.3\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-2024-49760/ (Markdown: https://insights.sbomify.com/CVE-2024-49760/index.md)","id":"CVE-2024-49760","markdown":"https://insights.sbomify.com/CVE-2024-49760/index.md","name":"CVE-2024-49760","record":{"aliases":["DEBIAN-CVE-2024-49760","GHSA-qfwq-6jh6-8xx4","UBUNTU-CVE-2024-49760"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"openrefine","vendor":"openrefine"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"OpenRefine is a free, open source tool for working with messy data. The load-language command expects a `lang` parameter from which it constructs the path of the localization file to load, of the form `translations-$LANG.json`. But when doing so in versions prior to 3.8.3, it does not check that the resulting path is in the expected directory, which means that this command could be exploited to read other JSON files on the file system. Version 3.8.3 addresses this issue.","ecosystems":["Maven"],"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":"OpenRefine has a path traversal in LoadLanguageCommand","id":"CVE-2024-49760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"REXML ReDoS vulnerability","id":"CVE-2024-49761"},"packages":[{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:openrefine","purl":null,"source":"GHSA-qfwq-6jh6-8xx4"},{"ecosystem":"Maven","fixed":["3.8.3"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:openrefine","purl":"pkg:maven/org.openrefine/openrefine","source":"GHSA-qfwq-6jh6-8xx4"}],"prev":{"headline":"LibreNMS has a Stored XSS ('Cross-site Scripting') in librenms/includes/html/pages/edituser.inc.php","id":"CVE-2024-49759"},"products":["OpenRefine"],"published":"2024-10-24","related":[{"cvss_score":9.8,"headline":"Remote Code exec in project import with mysql jdbc url attack","id":"CVE-2023-41887","kev_date_added":null,"published":"2023-09-15"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-25","vendors":["OpenRefine"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-49760/"}