{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-42968","id":"CVE-2022-42968","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.","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:30:49.896748245Z","reserved":"2022-10-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"},{"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","rating":"critical","source":"CISA-ADP"},{"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","rating":"critical","source":"OSV"},{"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","ranges":["<1.17.3"],"fixed":["1.17.3"],"advisory":"GHSA-w8xw-7crf-h23x"},{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.17.3"],"fixed":["1.17.3"],"advisory":"GO-2022-1065"}],"cwes":["CWE-88"],"aliases":["BIT-gitea-2022-42968","GHSA-w8xw-7crf-h23x","GO-2022-1065"],"references":[{"url":"https://github.com/go-gitea/gitea/pull/21463","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.17.3","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"https://security.gentoo.org/glsa/202210-14","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42968.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42968","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-w8xw-7crf-h23x","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01431,"epssPercentile":0.73608,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-42968","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42968","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-42968","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w8xw-7crf-h23x","ok":true,"note":"GHSA-w8xw-7crf-h23x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-42968","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}