{"answers":{"affected":"2 open source packages ship an affected version, including geojson2kml. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2020-28429 exists.","fix":"No fix has been published for CVE-2020-28429 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-28429 is a high-severity command injection vulnerability in geojson2kml, published on 23 Feb 2021. 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-28429 and fix it if it is affected.\n\nWhat it is: CVE-2020-28429 is a high-severity command injection vulnerability in geojson2kml, published on 23 Feb 2021. 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-2020-28429 exists.\n\nAffected packages and fixed versions:\n- geojson2kml (npm): affected all versions up to 0.1.1; no fix listed\n- geojson2kml (npm): affected all versions up to 0.1.1; 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-2020-28429/ (Markdown: https://insights.sbomify.com/CVE-2020-28429/index.md)","id":"CVE-2020-28429","markdown":"https://insights.sbomify.com/CVE-2020-28429/index.md","name":"CVE-2020-28429","record":{"aliases":["GHSA-w83x-fp72-p9qc"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"npm geojson2kml library","requires_auth":"none","summary":"Attackers can execute arbitrary commands via the geojson2kml npm library due to improper input handling in index.js.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"geojson2kml","vendor":"geojson2kml_project"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"All versions of package geojson2kml are vulnerable to Command Injection via the index.js file. PoC: var a =require(\"geojson2kml\"); a(\"./\",\"\u0026 touch JHU\",function(){})","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2020/CVE-2020-28429.yaml","stars":null,"title":"geojson2kml - Command Injection"}],"tier":"weaponised"},"has_fix":false,"headline":"Command Injection","id":"CVE-2020-28429","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2020-28430"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.1.1"],"package":"geojson2kml","purl":null,"source":"GHSA-w83x-fp72-p9qc"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["0.1.1"],"package":"geojson2kml","purl":"pkg:npm/geojson2kml","source":"GHSA-w83x-fp72-p9qc"}],"prev":{"headline":"Command Injection","id":"CVE-2020-28426"},"products":["geojson2kml"],"published":"2021-02-23","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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Attackers can execute arbitrary commands via the geojson2kml npm library due to improper input handling in index.js.","url":"https://insights.sbomify.com/CVE-2020-28429/"}