{"id":"CVE-2020-15272","published":"2020-10-26T18:20:20Z","modified":"2024-08-04T13:15:19Z","title":"Shell-injection in git-tag-annotation GitHub action","vendor":"ericcornelissen","product":"git-tag-annotation-action","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01175,"percentile":0.67458,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/ericcornelissen/git-tag-annotation-action/security/advisories/GHSA-hgx2-4pp9-357g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ericcornelissen/git-tag-annotation-action/commit/9f30756375cc4b1b6c66f274fc9c591fa901455a","tags":["x_refsource_MISC"]},{"url":"https://github.com/ericcornelissen/git-tag-annotation-action/releases/tag/v1.0.1","tags":["x_refsource_MISC"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":13.49},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"ericcornelissen","affectedVersions":[{"vendor":"ericcornelissen","product":"git-tag-annotation-action","versions":["< 1.0.1"]}],"euvd":{"id":"EUVD-2020-7274","exploited":false,"provenance":"source"}}