CVE-2021-32724
Description
check-spelling is a github action which provides CI spell checking. In affected versions and for a repository with the check-spelling action enabled that triggers on pull_request_target (or schedule), an attacker can send a crafted Pull Request that causes a GITHUB_TOKEN to be exposed. With the GITHUB_TOKEN, it's possible to push commits to the repository bypassing standard approval processes. Commits to the repository could then steal any/all secrets available to the repository. As a workaround users may can either: Disable the workflow until you've fixed all branches or Set repository to Allow specific actions. check-spelling isn't a verified creator and it certainly won't be anytime soon. You could then explicitly add other actions that your repository uses. Set repository Workflow permissions to Read repository contents permission. Workflows using check-spelling/check-spelling@main will get the fix automatically. Workflows using a pinned sha or tagged version will need to change the affected workflows for all repository branches to the latest version. Users can verify who and which Pull Requests have been running the action by looking up the spelling.yml action in the Actions tab of their repositories, e.g., https://github.com/check-spelling/check-spelling/actions/workflows/spelling.yml - you can filter PRs by adding ?query=event%3Apull_request_target, e.g., https://github.com/check-spelling/check-spelling/actions/workflows/spelling.yml?query=event%3Apull_request_target.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
check-spelling/check-spellingGitHub Actions | < 0.0.19 | 0.0.19 |
Affected products
2- Range: < 0.0.19
Patches
Vulnerability mechanics
References
5- github.com/check-spelling/check-spelling/commit/436362fc6b588d9d561cbdb575260ca593c8dc56nvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-g86g-chm8-7r2pghsaADVISORY
- github.com/check-spelling/check-spelling/security/advisories/GHSA-g86g-chm8-7r2pnvdMitigationThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-32724ghsaADVISORY
- github.com/check-spelling/check-spelling/releases/tag/v0.0.19ghsaWEB
News mentions
0No linked articles in our index yet.