GHSA-p5f9-c9j9-g8qx
Dashboard / Vulnerabilities / GHSA-p5f9-c9j9-g8qx
GHSA-p5f9-c9j9-g8qx
Published: 17 May 2022Last Modified: 21 Aug 2024
Summary: Shell command injection in gitea
Details: Gitea before 1.16.7 does not escape the shell out for `git fetch remote` allowing for shell command injection
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, https://github.com/go-gitea/gitea, 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
Affected packages
Package
Name: code.gitea.io/gitea
Purl: pkg:golang/code.gitea.io/gitea
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.16.7
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
