{"id":"CVE-2022-27313","aliases":["CVE-2022-27313","GHSA-g7p7-x6w7-w6qg","BIT-GITEA-2022-27313","GO-2022-0442"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary file deletion in gitea","summary":"An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.","source":"cvelist"},{"lang":"en","text":"Arbitrary file deletion in gitea in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Una vulnerabilidad de eliminación de archivos arbitrarios en Gitea versión v1.16.3, permite a atacantes causar una denegación de servicio (DoS) por medio de la eliminación del archivo de configuración","source":"nvd"}],"published":"2022-05-03T19:57:11.000Z","modified":"2026-09-08T08:47:34.569Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","version":"1.16.3"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:1.16.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.16.3","status":"affected","fixed":"1.16.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/19072","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27313","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.16.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-g7p7-x6w7-w6qg","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-27313","url":"https://www.cve.org/CVERecord?id=CVE-2022-27313","licence":"CVE Terms of Use","modified":"2024-08-03T05:25:32.644Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g7p7-x6w7-w6qg","url":"https://github.com/advisories/GHSA-g7p7-x6w7-w6qg","licence":"CC-BY-4.0","modified":"2024-08-21T15:41:54.089Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0442","url":"https://pkg.go.dev/vuln/GO-2022-0442","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:19.647Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-27313","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27313","licence":"Public domain","modified":"2026-06-17T04:36:55.213Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2022-27313","url":"https://osv.dev/vulnerability/BIT-GITEA-2022-27313","licence":"Apache-2.0","modified":"2026-09-08T08:47:34.569Z"}],"updatedAt":"2026-11-25T22:58:11.382Z","epss":{"score":0.0104,"percentile":0.64918,"date":"2026-12-01T12:00:22.000Z"}}