{"answers":{"affected":"2 open source packages ship an affected version, including expand-object.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3197 exists.","fix":"No fix has been published for CVE-2025-3197 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-3197 is a medium-severity vulnerability in expand-object, published on 4 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-3197 and fix it if it is affected.\n\nWhat it is: CVE-2025-3197 is a medium-severity vulnerability in expand-object, published on 4 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3197 exists.\n\nAffected packages and fixed versions:\n- expand-object (npm): affected all versions up to 0.4.2; no fix listed\n- expand-object (npm): affected all versions up to 0.4.2; 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-2025-3197/ (Markdown: https://insights.sbomify.com/CVE-2025-3197/index.md)","id":"CVE-2025-3197","markdown":"https://insights.sbomify.com/CVE-2025-3197/index.md","name":"CVE-2025-3197","record":{"aliases":["GHSA-4vjr-hfpp-2m7w"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"npm expand-object library","requires_auth":"none","summary":"Prototype pollution in expand-object allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"Versions of the package expand-object from 0.0.0 are vulnerable to Prototype Pollution in the expand() function in index.js. This function expands the given string into an object and allows a nested property to be set without checking the provided keys for sensitive properties like __proto__.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"expand-object Vulnerable to Prototype Pollution via the expand() Function","id":"CVE-2025-3197","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"GNU Binutils objdump bucomm.c display_info memory leak","id":"CVE-2025-3198"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.4.2"],"package":"expand-object","purl":null,"source":"GHSA-4vjr-hfpp-2m7w"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.4.2"],"package":"expand-object","purl":"pkg:npm/expand-object","source":"GHSA-4vjr-hfpp-2m7w"}],"prev":{"headline":"Open Asset Import Library Assimp Malformed File MD2Loader.cpp InternReadFile stack-based overflow","id":"CVE-2025-3196"},"products":["expand-object"],"published":"2025-04-04","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-04","vendors":["n/a"]},"summary":"Prototype pollution in expand-object allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.","url":"https://insights.sbomify.com/CVE-2025-3197/"}