CVE-2023-52137
CVSS 3.1 Score 8.8 of 10 (high)
Details
Summary
CVE-2023-52137, a command injection vulnerability, affects the [`tj-actions/verify-changed-files`](https://github.com/tj-actions/verify-changed-files) action. This vulnerability allows an attacker to execute arbitrary code and potentially leak secrets by injecting commands in changed filenames. The [`verify-changed-files`](https://github.com/tj-actions/verify-changed-files) workflow returns the list of changed files, and if the output value is used directly in a `run` block without proper sanitization, an attacker can take control of the [GitHub Runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners). The danger lies in the potential theft of sensitive information, such as `GITHUB_TOKEN`, if triggered on events other than `pull_request`. The vulnerability has been patched in versions [17](https://github.com/tj-actions/verify-changed-files/releases/tag/v17) and [17.0.0]. The severity is rated as HIGH with a base score of 8.8 according to NIST's CVSS v3.1 assessment.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions