Vulnerability advisory
GHSA-p5f9-c9j9-g8qx
Shell command injection in gitea
Also known as BIT-gitea-2022-30781CVE-2022-30781GO-2022-0450
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 1.16.7 | 1.16.7 |
Description
Gitea before 1.16.7 does not escape the shell out for git fetch remote allowing for shell command injection
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-30781 ↗
- Webgithub.com/go-gitea/gitea/pull/19487 ↗
- Webgithub.com/go-gitea/gitea/pull/19490 ↗
- Webblog.gitea.io/2022/05/gitea-1.16.7-is-released ↗
- Packagegithub.com/go-gitea/gitea ↗
- Webpacketstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html ↗
- Webpacketstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html ↗