In the git-tag-annotation-action (open source GitHub Action) before version 1.0.1, an attacker can execute arbitrary (*) shell commands if they can control the value of [the `tag` input] or manage to alter the value of [the `GITHUB_REF` environment variable]. The problem has been patched in version 1.0.1. If you don't use the `tag` input you are most likely safe. The `GITHUB_REF` environment variable is protected by the GitHub Actions environment so attacks from there should be impossible. If you must use the `tag` input and cannot upgrade to `> 1.0.0` make sure that the value is not controlled by another Action.
References
Link | Resource |
---|---|
https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a | Patch Third Party Advisory |
https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1 | Third Party Advisory |
https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g | Third Party Advisory |
https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a | Patch Third Party Advisory |
https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1 | Third Party Advisory |
https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 05:05
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a - Patch, Third Party Advisory | |
References | () https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1 - Third Party Advisory | |
References | () https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g - Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 6.5
v3 : 8.7 |
Information
Published : 2020-10-26 19:15
Updated : 2024-11-21 05:05
NVD link : CVE-2020-15272
Mitre link : CVE-2020-15272
CVE.ORG link : CVE-2020-15272
JSON object : View
Products Affected
git-tag-annotation-action_project
- git-tag-annotation-action
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')