{"answers":{"affected":"1 open source package ship an affected version, including some-natalie/ghas-to-csv. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-39217 in the wild and no public exploit code.","fix":"Upgrade some-natalie/ghas-to-csv to 1 or later.","what":"CVE-2022-39217 is a medium-severity code injection vulnerability in some-natalie ghas-to-csv, published on 16 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-39217 and fix it if it is affected.\n\nWhat it is: CVE-2022-39217 is a medium-severity code injection vulnerability in some-natalie ghas-to-csv, published on 16 Sep 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-39217 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- some-natalie/ghas-to-csv (GitHub Actions): affected all versions; fixed in 1\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-2022-39217/ (Markdown: https://insights.sbomify.com/CVE-2022-39217/index.md)","id":"CVE-2022-39217","markdown":"https://insights.sbomify.com/CVE-2022-39217/index.md","name":"CVE-2022-39217","record":{"aliases":["GHSA-634p-93h9-92vh"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub Actions","requires_auth":"none","summary":"Attackers can execute code via CSV formula injection in GitHub Advanced Security exports, requiring users to upgrade the ghas-to-csv action.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ghas-to-csv","vendor":"ghas-to-csv_project"}],"cvss":{"score":5.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"some-natalie/ghas-to-csv (GitHub Advanced Security to CSV) is a GitHub action which scrapes the GitHub Advanced Security API and shoves it into a CSV. In affected versions this GitHub Action creates a CSV file without sanitizing the output of the APIs. If an alert is dismissed or any other custom field contains executable code / formulas, it might be run when an endpoint opens that CSV file in a spreadsheet program. This issue has been addressed in version `v1`. Users are advised to use `v1` or later. There are no known workarounds for this issue.","ecosystems":["GitHub Actions"],"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":"Improper Neutralization of Formula Elements in a CSV File in ghas-to-csv","id":"CVE-2022-39217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"GitHub Actions","product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":1,"n_references":2,"next":{"headline":"Random number seed fixed during compilation","id":"CVE-2022-39218"},"packages":[{"ecosystem":"GitHub Actions","fixed":["1"],"introduced":["0"],"last_affected":[],"package":"some-natalie/ghas-to-csv","purl":null,"source":"GHSA-634p-93h9-92vh"}],"prev":{"headline":"Combodo iTop's weak password reset token leads to account takeover","id":"CVE-2022-39216"},"products":["ghas-to-csv"],"published":"2022-09-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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["some-natalie"]},"summary":"Attackers can execute code via CSV formula injection in GitHub Advanced Security exports, requiring users to upgrade the ghas-to-csv action.","url":"https://insights.sbomify.com/CVE-2022-39217/"}