{"answers":{"affected":"2 open source packages ship an affected version, including ml.shifu:shifu. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-7148 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-7148 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-7148 is a medium-severity code injection vulnerability in ShifuML shifu, published on 29 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-7148 and fix it if it is affected.\n\nWhat it is: CVE-2023-7148 is a medium-severity code injection vulnerability in ShifuML shifu, published on 29 Dec 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-7148 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ml.shifu:shifu (Maven): affected all versions up to 0.12.0; no fix listed\n- ml.shifu:shifu (Maven): affected all versions up to 0.12.0; no fix listed\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-7148/ (Markdown: https://insights.sbomify.com/CVE-2023-7148/index.md)","id":"CVE-2023-7148","markdown":"https://insights.sbomify.com/CVE-2023-7148/index.md","name":"CVE-2023-7148","record":{"aliases":["GHSA-5fpq-3c9p-3r3w"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java machine learning library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via Java Expression Language injection in ShifuML shifu, requiring high complexity and permissions.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"shifu","vendor":"shifuml"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"A vulnerability has been found in ShifuML shifu 0.12.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file src/main/java/ml/shifu/shifu/core/DataPurifier.java of the component Java Expression Language Handler. The manipulation of the argument FilterExpression leads to code injection. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249151.","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":false,"headline":"ShifuML shifu Java Expression Language DataPurifier.java code injection","id":"CVE-2023-7148","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":2,"n_references":3,"next":{"headline":"code-projects QR Code Generator cross site scripting","id":"CVE-2023-7149"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["0.12.0"],"package":"ml.shifu:shifu","purl":null,"source":"GHSA-5fpq-3c9p-3r3w"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["0.12.0"],"package":"ml.shifu:shifu","purl":"pkg:maven/ml.shifu/shifu","source":"GHSA-5fpq-3c9p-3r3w"}],"prev":{"headline":"gopeak MasterLab User.php base64ImageContent unrestricted upload","id":"CVE-2023-7147"},"products":["shifu"],"published":"2023-12-29","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"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["ShifuML"]},"summary":"Remote attackers can execute arbitrary code via Java Expression Language injection in ShifuML shifu, requiring high complexity and permissions.","url":"https://insights.sbomify.com/CVE-2023-7148/"}