CVE-2022-30781
At a glance
- Source
- NVD
- EPSS
- EPSS 87.93 % · percentile 100 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
Description
Gitea before 1.16.7 does not escape git fetch remote.
Weaknesses (CWE)
- CWE-116 — Improper Encoding or Escaping of Output
References
- https://github.com/go-gitea/gitea/pull/19490
- https://github.com/go-gitea/gitea/pull/19487
- 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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-p5f9-c9j9-g8qx — Shell command injection in gitea
- GO-2022-0450 — Shell command injection in gitea in code.gitea.io/gitea
European references
- ENISA EUVD · EUVD-2022-4684
- GCVE · GCVE-0-2022-30781
Affected configurations (NVD CPE)
cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*< 1.16.7
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |