{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-4742 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-4742 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-4742 is a medium-severity unsafe deserialization vulnerability in XU-YIJIE grpo-flat, published on 16 May 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-4742 and fix it if it is affected.\n\nWhat it is: CVE-2025-4742 is a medium-severity unsafe deserialization vulnerability in XU-YIJIE grpo-flat, published on 16 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-4742 in the wild and no public exploit code.\n\nAffected product: XU-YIJIE grpo-flat. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-4742/ (Markdown: https://insights.sbomify.com/CVE-2025-4742/index.md)","id":"CVE-2025-4742","markdown":"https://insights.sbomify.com/CVE-2025-4742/index.md","name":"CVE-2025-4742","record":{"aliases":["GHSA-p9qv-6qqh-cc4q"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python reinforcement learning library","requires_auth":"low_privilege","summary":"Local attackers can execute arbitrary code via unsafe deserialization in the main function of grpo_vanilla.py.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A vulnerability classified as problematic has been found in XU-YIJIE grpo-flat up to 9024b43f091e2eb9bac65802b120c0b35f9ba856. Affected is the function main of the file grpo_vanilla.py. The manipulation leads to deserialization. Local access is required to approach this attack. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available.","ecosystems":[],"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":"XU-YIJIE grpo-flat grpo_vanilla.py main deserialization","id":"CVE-2025-4742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"code-projects Employee Record System getData.php sql injection","id":"CVE-2025-4743"},"packages":[],"prev":{"headline":"Campcodes Sales and Inventory System purchase_add.php sql injection","id":"CVE-2025-4741"},"products":["grpo-flat"],"published":"2025-05-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2025-05-16","vendors":["XU-YIJIE"]},"summary":"Local attackers can execute arbitrary code via unsafe deserialization in the main function of grpo_vanilla.py.","url":"https://insights.sbomify.com/CVE-2025-4742/"}