{"id":"CVE-2022-42968","aliases":["BIT-gitea-2022-42968","GHSA-w8xw-7crf-h23x","GO-2022-1065"],"url":"https://o3.security/vulnerability/CVE-2022-42968","summary":"Gitea vulnerable to Argument Injection","details":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","published":"2022-10-16T00:00:00Z","modified":"2026-08-12T03:51:24.907213428Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","fixedVersion":"1.17.3"}],"fix":{"url":"https://github.com/go-gitea/gitea/pull/21463","label":"go-gitea/gitea#21463"},"references":[{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.17.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42968"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-14"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/21463"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:24.907213428Z"}}