{"id":"GHSA-w8xw-7crf-h23x","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.","aliases":["BIT-gitea-2022-42968","CVE-2022-42968","GO-2022-1065"],"modified":"2024-08-21T16:29:13.990083Z","published":"2022-10-16T12:00:23Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-10-21T16:07:23Z","nvd_published_at":"2022-10-16T04:15:00Z","cwe_ids":["CWE-88"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42968"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/21463"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.17.3"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202210-14"}],"affected":[{"package":{"name":"github.com/go-gitea/gitea","ecosystem":"Go","purl":"pkg:golang/github.com/go-gitea/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.17.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-w8xw-7crf-h23x/GHSA-w8xw-7crf-h23x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}