RCE in Ericcornelissen Git-Tag-Annotation-Action

CVE-2020-15272

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.012 (64.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-15272?
CVE-2020-15272 is a high-severity vulnerability in Ericcornelissen Git-Tag-Annotation-Action, classified under OS Command Injection. CVSS score: 8.7/10. Published 2020-10-26.
How severe is CVE-2020-15272?
High severity. CVSS v3 base score is 8.7 out of 10.