CVE-2020-15272 Shell-injection in git-tag-annotation GitHub action
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2020-15272?
CVE-2020-15272 is a high-severity vulnerability in ericcornelissen git-tag-annotation-action, published on 26 Oct 2020.
Official description
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.
Weakness: CWE-78
Which versions are affected by CVE-2020-15272?
It affects 1 product.
Products include Git-Tag-Annotation-Action Project Git-Tag-Annotation-Action.
How do I fix CVE-2020-15272?
No fix has been published for CVE-2020-15272 yet. Limit exposure of the affected software until one is available.
Is CVE-2020-15272 being exploited?
There is no known exploitation of CVE-2020-15272 in the wild and no public exploit code.
Sources
Also known as GHSA-hgx2-4pp9-357g.