go-gitea/gitea · Security
Shell command injection in gitea
- GHSA ID
- GHSA-p5f9-c9j9-g8qx
- CVE ID
- CVE-2022-30781
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
Gitea before 1.16.7 does not escape the shell out for git fetch remote allowing for shell command injection
CWEs
- CWE-116 · Improper Encoding or Escaping of Output
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-30781 ↗
- https://github.com/go-gitea/gitea/pull/19487 ↗
- https://github.com/go-gitea/gitea/pull/19490 ↗
- https://blog.gitea.io/2022/05/gitea-1.16.7-is-released/ ↗
- http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html ↗
- http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html ↗
- https://github.com/advisories/GHSA-p5f9-c9j9-g8qx ↗