{"id":"CVE-2022-42968","details":"Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.","aliases":["BIT-gitea-2022-42968","GHSA-w8xw-7crf-h23x","GO-2022-1065"],"modified":"2026-03-14T11:55:05.004739Z","published":"2022-10-16T04:15:09.347Z","references":[{"type":"ADVISORY","url":"https://github.com/go-gitea/gitea/releases/tag/v1.17.3"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-14"},{"type":"FIX","url":"https://github.com/go-gitea/gitea/pull/21463"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-gitea/gitea","events":[{"introduced":"0"},{"fixed":"f48fda8eefa4d47e335f01ac92366b9373950e0e"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.17.3"}]}}],"versions":["v0.9.99","v1.0.0","v1.1.0","v1.10.0-dev","v1.10.0-rc1","v1.10.5","v1.11.0-dev","v1.11.0-rc1","v1.12.0-dev","v1.13.0-dev","v1.14.0-dev","v1.15.0-dev","v1.15.0-rc1","v1.16.0-dev","v1.16.0-rc1","v1.17.0","v1.17.0-dev","v1.17.0-rc1","v1.17.0-rc2","v1.17.1","v1.17.2","v1.5.0-dev","v1.5.0-rc1","v1.6.0-dev","v1.6.0-rc1","v1.7.0-dev","v1.9.0-dev","v1.9.0-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42968.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}