9.8 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.002 Low
EPSS
Percentile
57.4%
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)
Please use version v1
or later. That tag moves from using csv
to defusedcsv
to mitigate this problem.
There is no workaround. Please upgrade to using the latest tag, v1
(or later).
defusedcsv
hereIf you have any questions or comments about this advisory:
CPE | Name | Operator | Version |
---|---|---|---|
some-natalie/ghas-to-csv | lt | 1 |
github.com/advisories/GHSA-634p-93h9-92vh
github.com/some-natalie/ghas-to-csv/commit/d0b521928fa734513b5cd9c7d9d8e09db50e884a
github.com/some-natalie/ghas-to-csv/issues/19
github.com/some-natalie/ghas-to-csv/pull/20
github.com/some-natalie/ghas-to-csv/security/advisories/GHSA-634p-93h9-92vh
nvd.nist.gov/vuln/detail/CVE-2022-39217