Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
๐Ÿ“ฆ GitHub Actions

GHSA-634p-93h9-92vh

MEDIUM

ghas-to-csv vulnerable to Improper Neutralization of Formula Elements in a CSV File

Also known asCVE-2022-39217
Published
Sep 16, 2022
Updated
Nov 8, 2023
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org โ†—
0.5%probability of exploitation in next 30 days
Lower Risk36th percentile+0.03%
0.00%0.32%0.63%0.95%0.4%0.5%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

1 pkg affected
๐Ÿ“ฆsome-natalie/ghas-to-csv

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects GitHub Actions packages โ€” download data is not available via public APIs for these ecosystems.

Description

Impact

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. The data flow looks like this ๐Ÿ‘‡๐Ÿป

graph TD
    A(Repository) -->|developer dismissal, other data input| B(GitHub Advanced Security data)
    B -->|ghas-to-csv| C(CSV file)
    C -->|spreadsheet program| D(endpoint executes potentially malicious code)

Patches

Please use version v1 or later. That tag moves from using csv to defusedcsv to mitigate this problem.

Workarounds

There is no workaround. Please upgrade to using the latest tag, v1 (or later).

References

  • CWE-1236 information from MITRE
  • CSV injection information from OWASP
  • CodeQL query for CWE-1236 in Python here
  • PyPI site for defusedcsv here

For more information

If you have any questions or comments about this advisory:

  • Open an issue in this repository here

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
๐Ÿ“ฆGitHub Actionssome-natalie/ghas-to-csvall versions1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for some-natalie/ghas-to-csv. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update some-natalie/ghas-to-csv to 1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range โ€” O3 confirms GHSA-634p-93h9-92vh is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-634p-93h9-92vh is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-634p-93h9-92vh. Runtime protection reduces exposure until a permanent patch is applied and verified โ€” it complements patching, it doesn't replace it.

Frequently Asked Questions

### Impact 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. The data flow looks like this ๐Ÿ‘‡๐Ÿป ```mermaid graph TD A(Repository) -->|developer dismissal, other data input| B(GitHub Advanced Security data) B -->|ghas-to-csv| C(CSV file) C -->|spreadsheet program| D(endpoint executes potentially malicious code) ``` ### Patches Please use version `v1` or later. That tag moves from
O3 Security ยท Impact-Aware SCA

Is GHSA-634p-93h9-92vh in your dependencies?

O3 detects GHSA-634p-93h9-92vh across GitHub Actions dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable โ€” not just present. No false positives.

GHSA-634p-93h9-92vh: some-natalie/ghas-to-csv Malicious Code /โ€ฆ | O3 Security