GitHub Advisoryadvisory · Go
GHSA-p5f9-c9j9-g8qx Shell command injection in gitea
HIGH
Official page ↗
- Aliases
- CVE-2022-30781
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-116
- Reviewed
- 2022-05-25
Affected packages
• Go code.gitea.io/gitea: < 1.16.7 → fixed in 1.16.7
Description
Gitea before 1.16.7 does not escape the shell out for `git fetch remote` allowing for shell command injection
Related
Alias · CVE (1)
- CVE-2022-30781 Gitea before 1.16.7 does not escape git fetch remote. vulnerability
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-30781 advisory
- https://github.com/go-gitea/gitea/pull/19487 web
- https://github.com/go-gitea/gitea/pull/19490 web
- https://blog.gitea.io/2022/05/gitea-1.16.7-is-released web
- https://github.com/go-gitea/gitea package
- http://packetstormsecurity.com/files/168400/Gitea-1.16.6-Remote-Code-Execution.html web
- http://packetstormsecurity.com/files/169928/Gitea-Git-Fetch-Remote-Code-Execution.html web