CVE-2022-30781
JSON

7.5high

Shell command injection in gitea

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
87.9% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-p5f9-c9j9-g8qxBIT-GITEA-2022-30781GO-2022-0450

Description

Gitea before 1.16.7 does not escape git fetch remote.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
code.gitea.io/gitea (Go)before 1.16.7GitHub Advisory Database, Go Vulnerability Database
gitea giteabefore 1.16.7NVD
gitea (Bitnami)before 1.16.7Bitnami Vulnerability Database

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N
Bitnami Vulnerability Databasehigh rating

Classification

What each source says

CVE List

Gitea before 1.16.7 does not escape git fetch remote.

GitHub Advisory Database

Gitea before 1.16.7 does not escape the shell out for git fetch remote allowing for shell command injection

Go Vulnerability Database

Shell command injection in gitea in code.gitea.io/gitea

NVD (es)

Gitea versiones anteriores a 1.16.7, no escapa de git fetch remote

References

Sources

SourceRecordLicence
CVE ListCVE-2022-30781 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-p5f9-c9j9-g8qx changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0450 changed 2026-03-03CC-BY-4.0
NVDCVE-2022-30781 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITEA-2022-30781 changed 2026-09-08Apache-2.0