GitHub Advisoryadvisory · Go

GHSA-p5f9-c9j9-g8qx Shell command injection in gitea

HIGH Published 2022-05-17 Modified 2022-05-25 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