{"answers":{"affected":"2 open source packages ship an affected version, including object-path. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15256 in the wild and no public exploit code.","fix":"Upgrade object-path to 0.11.5 or later.","what":"CVE-2020-15256 is a high-severity code injection vulnerability in mariocasciaro object-path, published on 19 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15256 and fix it if it is affected.\n\nWhat it is: CVE-2020-15256 is a high-severity code injection vulnerability in mariocasciaro object-path, published on 19 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15256 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- object-path (npm): affected all versions; fixed in 0.11.5\n- object-path (npm): affected all versions; fixed in 0.11.5\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-2020-15256/ (Markdown: https://insights.sbomify.com/CVE-2020-15256/index.md)","id":"CVE-2020-15256","markdown":"https://insights.sbomify.com/CVE-2020-15256/index.md","name":"CVE-2020-15256","record":{"aliases":["DEBIAN-CVE-2020-15256","GHSA-cwx2-736x-mf6w","UBUNTU-CVE-2020-15256"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript object-path library","requires_auth":"none","summary":"Prototype pollution in object-path allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation when specific options are enabled.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"object-path","vendor":"object-path_project"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-471","name":"Modification of Assumed-Immutable Data (MAID)"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"A prototype pollution vulnerability has been found in `object-path` \u003c= 0.11.4 affecting the `set()` method. The vulnerability is limited to the `includeInheritedProps` mode (if version \u003e= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of `object-path` and setting the option `includeInheritedProps: true`, or by using the default `withInheritedProps` instance. The default operating mode is not affected by the vulnerability if version \u003e= 0.11.0 is used. Any usage of `set()` in versions \u003c 0.11.0 is vulnerable. The issue is fixed in object-path version 0.11.5 As a workaround, don't use the `includeInheritedProps: true` options or the `withInheritedProps` instance if using a version \u003e= 0.11.0.","ecosystems":["npm"],"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":"Prototype pollution in object-path","id":"CVE-2020-15256","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"containerd-shim API Exposed to Host Network Containers","id":"CVE-2020-15257"},"packages":[{"ecosystem":"npm","fixed":["0.11.5"],"introduced":["0"],"last_affected":[],"package":"object-path","purl":null,"source":"GHSA-cwx2-736x-mf6w"},{"ecosystem":"npm","fixed":["0.11.5"],"introduced":["0"],"last_affected":[],"package":"object-path","purl":"pkg:npm/object-path","source":"GHSA-cwx2-736x-mf6w"}],"prev":{"headline":"CSV injection in Anuko Time Tracker","id":"CVE-2020-15255"},"products":["object-path"],"published":"2020-10-19","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-04","vendors":["mariocasciaro"]},"summary":"Prototype pollution in object-path allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation when specific options are enabled.","url":"https://insights.sbomify.com/CVE-2020-15256/"}