CVE-2023-51664
Prior to 41.0.0, the `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.35%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
tj-actions/changed-files is a Github action to retrieve all files and directories. Prior to 41.0.0, the `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets. This issue may lead to arbitrary command execution in the GitHub Runner. This vulnerability has been addressed in version 41.0.0. Users are advised to upgrade.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 3.35% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74, CWE-77
- Affected
- tj-actions/changed-files
- Source
- security-advisories@github.com
References
- https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1bPatch
- https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2fPatch
- https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2edePatch
- https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63Exploit, Vendor Advisory
- https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1bPatch
- https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2fPatch
- https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2edePatch
- https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63Exploit, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.