{"answers":{"affected":"2 open source packages ship an affected version, including org.openrefine:main. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-19859 in the wild and no public exploit code.","fix":"Upgrade org.openrefine:main to 3.2-beta or later.","what":"CVE-2018-19859 is a medium-severity path traversal vulnerability in n/a, published on 5 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-19859 and fix it if it is affected.\n\nWhat it is: CVE-2018-19859 is a medium-severity path traversal vulnerability in n/a, published on 5 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2018-19859 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.openrefine:main (Maven): affected all versions; fixed in 3.2-beta\n- org.openrefine:main (Maven): affected all versions; fixed in 3.2-beta\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-2018-19859/ (Markdown: https://insights.sbomify.com/CVE-2018-19859/index.md)","id":"CVE-2018-19859","markdown":"https://insights.sbomify.com/CVE-2018-19859/index.md","name":"CVE-2018-19859","record":{"aliases":["GHSA-f6fv-fjg8-4m6w"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenRefine data tool","requires_auth":"low_privilege","summary":"Attackers can exploit directory traversal in OpenRefine via malicious ZIP archives to read or modify arbitrary files on the system.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"openrefine","vendor":"openrefine"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"OpenRefine before 3.2 beta allows directory traversal via a relative pathname in a ZIP archive.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-10-22","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-10-22T17:05:11Z","kind":"github_poc","ref":"https://github.com/WhiteOakSecurity/CVE-2018-19859","stars":1,"title":"CVE-2018-19859 Remote Code Execution Proof of Concept"}],"tier":"poc_unverified"},"has_fix":true,"headline":"OpenRefine Directory Traversal","id":"CVE-2018-19859","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2018"},"n_packages":2,"n_references":2,"next":{"headline":"Code injection in n/a","id":"CVE-2018-19860"},"packages":[{"ecosystem":"Maven","fixed":["3.2-beta"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:main","purl":null,"source":"GHSA-f6fv-fjg8-4m6w"},{"ecosystem":"Maven","fixed":["3.2-beta"],"introduced":["0"],"last_affected":[],"package":"org.openrefine:main","purl":"pkg:maven/org.openrefine/main","source":"GHSA-f6fv-fjg8-4m6w"}],"prev":{"headline":"PrinceXML, versions 10 and below, is vulnerable to XXE due to the lack of protection against external entities.","id":"CVE-2018-19858"},"products":["n/a"],"published":"2018-12-05","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can exploit directory traversal in OpenRefine via malicious ZIP archives to read or modify arbitrary files on the system.","url":"https://insights.sbomify.com/CVE-2018-19859/"}