CVE-2020-15272
Git-tag-annotation-action Project Git-tag-annotation-action vulnerability
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.
Affected products
Git-tag-annotation-action. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git-tag-annotation-action Project Git-tag-annotation-action runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c59 · Patch
- github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1 · Third Party Advisory
- github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-35 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-15272
- cve.org/CVERecord?id=CVE-2020-15272
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.