{"id":"CVE-2022-42968","aliases":["ALPINE-CVE-2022-42968","BIT-gitea-2022-42968","EUVD-2022-7173","GHSA-w8xw-7crf-h23x","GO-2022-1065"],"status":"published","title":"Gitea vulnerable to Argument Injection","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01431,"percentile":0.73259,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-88"],"published":"2022-10-16T00:00:00Z","modified":"2026-11-03T07:31:26Z","fixes":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","fixed_in":["1.17.3"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.17","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"gitea","fixed_in":["1.17.3-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"gitea","fixed_in":["1.17.3"],"sources":["osv"]},{"ecosystem":"Go","package":"code.gitea.io/gitea","fixed_in":["1.17.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.3-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.3"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.3"}]}]},{"source":"osv","ecosystem":"Go","package":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.3"}]}]}],"products":[{"vendor":"gitea","product":"gitea"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/21463","tags":["x_transferred","Patch","Third Party Advisory","advisory","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.17.3","tags":["x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/202210-14","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42968","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-w8xw-7crf-h23x","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-42968","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42968.json","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-42968","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T00:00:00Z","modified":"2025-05-14T14:34:03.454Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:34:27.640972Z"}],"euvd":[{"id":"EUVD-2022-7173","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T00:00:00Z","modified":"2025-05-14T14:34:03Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:47.93917Z"}],"ghsa":[{"id":"GHSA-w8xw-7crf-h23x","title":"Gitea vulnerable to Argument Injection","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T12:00:23Z","modified":"2023-01-30T05:02:54Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:36:27.500048Z"}],"nvd":[{"id":"CVE-2022-42968","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T04:15:09.347Z","modified":"2026-06-17T05:05:41.23Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:07:30.6869Z"}],"osv":[{"id":"ALPINE-CVE-2022-42968","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T04:15:09.347Z","modified":"2026-11-03T07:31:26.104011625Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"CVE-2022-42968","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T00:00:00Z","modified":"2026-10-28T02:30:49.896748245Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:27.186787Z"},{"id":"GHSA-w8xw-7crf-h23x","title":"Gitea vulnerable to Argument Injection","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2022-10-16T12:00:23Z","modified":"2024-08-21T16:28:35.419206Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T15:46:58.401149Z"},{"id":"BIT-gitea-2022-42968","description":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","status":"published","published":"2024-03-06T10:52:28.405Z","modified":"2026-09-08T08:47:33.623707589Z","updated_at":"2026-11-02T15:28:29.999658Z"},{"id":"GO-2022-1065","title":"Gitea vulnerable to Argument Injection in code.gitea.io/gitea","description":"Gitea vulnerable to Argument Injection in code.gitea.io/gitea","status":"published","published":"2024-08-21T16:03:24Z","modified":"2026-03-03T04:52:41.181693Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
