{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.zeppelin:zeppelin-shell.","exploited":"There is no known exploitation of CVE-2024-31861 in the wild and no public exploit code.","fix":"Upgrade org.apache.zeppelin:zeppelin-shell to 0.11.1 or later.","what":"CVE-2024-31861 is a vulnerability in org.apache.zeppelin:zeppelin-shell, published on 11 Apr 2024."},"fix_prompt":"Check this codebase for CVE-2024-31861 and fix it if it is affected.\n\nWhat it is: CVE-2024-31861 is a vulnerability in org.apache.zeppelin:zeppelin-shell, published on 11 Apr 2024. \nExploitation: There is no known exploitation of CVE-2024-31861 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.zeppelin:zeppelin-shell (Maven): affected from 0.10.1; fixed in 0.11.1\n- org.apache.zeppelin:zeppelin-shell (Maven): affected from 0.10.1; fixed in 0.11.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-2024-31861/ (Markdown: https://insights.sbomify.com/CVE-2024-31861/index.md)","id":"CVE-2024-31861","markdown":"https://insights.sbomify.com/CVE-2024-31861/index.md","name":"CVE-2024-31861","record":{"aliases":["GHSA-8pfj-w89w-m24x"],"analysis":null,"analysis_generated_by":null,"assigner":"apache","cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.","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":"Code injection in Apache Zeppelin Shell","id":"CVE-2024-31861","indexable":false,"kev":null,"kind":"cve_rejected","links":{"ecosystem":"Maven","product":null,"products":[],"type":null,"year":"2024"},"n_packages":2,"n_references":0,"next":{"headline":"Apache Zeppelin: Denial of service with invalid notebook name","id":"CVE-2024-31862"},"packages":[{"ecosystem":"Maven","fixed":["0.11.1"],"introduced":["0.10.1"],"last_affected":[],"package":"org.apache.zeppelin:zeppelin-shell","purl":null,"source":"GHSA-8pfj-w89w-m24x"},{"ecosystem":"Maven","fixed":["0.11.1"],"introduced":["0.10.1"],"last_affected":[],"package":"org.apache.zeppelin:zeppelin-shell","purl":"pkg:maven/org.apache.zeppelin/zeppelin-shell","source":"GHSA-8pfj-w89w-m24x"}],"prev":{"headline":"Apache Zeppelin: Path traversal vulnerability","id":"CVE-2024-31860"},"products":[],"published":"2024-04-11","related":[],"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"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"REJECTED","updated":"2024-06-21","vendors":[]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-31861/"}