{"answers":{"affected":"8 open source packages ship an affected version, including yargs-parser. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-7608 in the wild and no public exploit code.","fix":"Upgrade yargs-parser to a fixed version for your release line: 5.0.1, 15.0.1, 18.1.1 or 13.1.2.","what":"CVE-2020-7608 is a medium-severity vulnerability in yargs-parser, published on 16 Mar 2020."},"fix_prompt":"Check this codebase for CVE-2020-7608 and fix it if it is affected.\n\nWhat it is: CVE-2020-7608 is a medium-severity vulnerability in yargs-parser, published on 16 Mar 2020. \nExploitation: There is no known exploitation of CVE-2020-7608 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- yargs-parser (npm): affected all versions; fixed in 5.0.1\n- yargs-parser (npm): affected all versions; fixed in 5.0.1\n- yargs-parser (npm): affected from 14.0.0; fixed in 15.0.1\n- yargs-parser (npm): affected from 14.0.0; fixed in 15.0.1\n- yargs-parser (npm): affected from 16.0.0; fixed in 18.1.1\n- yargs-parser (npm): affected from 16.0.0; fixed in 18.1.1\n- yargs-parser (npm): affected from 6.0.0; fixed in 13.1.2\n- yargs-parser (npm): affected from 6.0.0; fixed in 13.1.2\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-7608/ (Markdown: https://insights.sbomify.com/CVE-2020-7608/index.md)","id":"CVE-2020-7608","markdown":"https://insights.sbomify.com/CVE-2020-7608/index.md","name":"CVE-2020-7608","record":{"aliases":["CLSA-2026-1774225193","CLSA-2026-1774225196","CLSA-2026-1774225198","CLSA-2026-1774225199","CLSA-2026-1777336759","DEBIAN-CVE-2020-7608","GHSA-p9pc-299p-vxgp","MGASA-2021-0170","SNYK-JS-YARGSPARSER-560381","UBUNTU-CVE-2020-7608"],"analysis":null,"analysis_generated_by":null,"assigner":"snyk","cpe":[{"product":"yargs-parser","vendor":"yargs"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"yargs-parser could be tricked into adding or modifying properties of Object.prototype using a \"__proto__\" payload.","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":"yargs-parser Vulnerable to Prototype Pollution","id":"CVE-2020-7608","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2020"},"n_packages":8,"n_references":1,"next":{"headline":"Code Injection in node-rules","id":"CVE-2020-7609"},"packages":[{"ecosystem":"npm","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"yargs-parser","purl":null,"source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"yargs-parser","purl":"pkg:npm/yargs-parser","source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["15.0.1"],"introduced":["14.0.0"],"last_affected":[],"package":"yargs-parser","purl":null,"source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["15.0.1"],"introduced":["14.0.0"],"last_affected":[],"package":"yargs-parser","purl":"pkg:npm/yargs-parser","source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["18.1.1"],"introduced":["16.0.0"],"last_affected":[],"package":"yargs-parser","purl":null,"source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["18.1.1"],"introduced":["16.0.0"],"last_affected":[],"package":"yargs-parser","purl":"pkg:npm/yargs-parser","source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["13.1.2"],"introduced":["6.0.0"],"last_affected":[],"package":"yargs-parser","purl":null,"source":"GHSA-p9pc-299p-vxgp"},{"ecosystem":"npm","fixed":["13.1.2"],"introduced":["6.0.0"],"last_affected":[],"package":"yargs-parser","purl":"pkg:npm/yargs-parser","source":"GHSA-p9pc-299p-vxgp"}],"prev":{"headline":"OS Command Injection in gulkp-styledocco","id":"CVE-2020-7607"},"products":["yargs-parser"],"published":"2020-03-16","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":["n/a"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2020-7608/"}