PT-2021-7455 · Unknown · Check-Spelling
Justinsteven
·
Published
2021-07-12
·
Updated
2022-07-29
·
CVE-2021-32724
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
check-spelling versions prior to v0.0.19
Description
The issue is related to the exposure of the
GITHUB TOKEN in the check-spelling GitHub action, which can be triggered by a crafted Pull Request. This exposure allows an attacker to push commits to the repository, bypassing standard approval processes, and potentially steal secrets available to the repository. The estimated number of potentially affected devices worldwide is not provided. There is no information about real-world incidents where this issue was exploited.Recommendations
To resolve the issue, users can either:
- Update to version v0.0.19 or later.
- Disable the workflow until all branches are fixed.
- Set repository to Allow specific actions and explicitly add other actions that the repository uses.
- Set repository Workflow permissions to Read repository contents permission.
For workflows using a pinned sha or tagged version, change the affected workflows for all repository branches to the latest version.
As a temporary workaround, consider disabling the vulnerable workflow until a patch is available.
Restrict access to the vulnerable module to minimize the risk of exploitation.
Avoid using the
GITHUB TOKENin the affected API endpoint until the issue is resolved.
Fix
Insertion into Log File
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Check-Spelling