CVE-2023-51664 tj-actions/changed-files command injection in output filenames
CriticalCVSS 9.8
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| tj-actions/changed-files | < 41.0.0; = < 41.0.0 | 41.0.0 | Fixed |
| tj-actions/changed-files(GitHub Actions) | < 41 | 41 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tj-actions/changed-files(GitHub Actions) | < 41 | 41 |
| tj-actions/changed-files | = < 41.0.0 | No fix listed |
| tj-actions/changed-files | < 41.0.0 | 41.0.0 |
References
- https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63 exploit vendor-advisory
- nvd.nist.gov third-party-advisory
- https://github.com/tj-actions/changed-files/commit/0102c07446a3cad972f4afcbd0ee4dbc4b6d2d1b patch
- https://github.com/tj-actions/changed-files/commit/716b1e13042866565e00e85fd4ec490e186c4a2f patch
- https://github.com/tj-actions/changed-files/commit/ff2f6e6b91913a7be42be1b5917330fe442f2ede patch
- github.com