{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-27313","id":"CVE-2022-27313","title":"Arbitrary file deletion in gitea","description":"An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.","descriptionLong":"An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.","published":"2022-05-03T19:57:11.000Z","updated":"2026-10-28T02:31:12.187255974Z","reserved":"2022-03-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.16.4"],"fixed":["1.16.4"],"advisory":"GHSA-g7p7-x6w7-w6qg"}],"cwes":[],"aliases":["BIT-gitea-2022-27313","GHSA-g7p7-x6w7-w6qg","GO-2022-0442"],"references":[{"url":"https://github.com/go-gitea/gitea/pull/19072","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27313.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27313","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.16.4","tags":["web"]},{"url":"https://github.com/advisories/GHSA-g7p7-x6w7-w6qg","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0104,"epssPercentile":0.64634,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-27313","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27313","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-27313","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g7p7-x6w7-w6qg","ok":true,"note":"GHSA-g7p7-x6w7-w6qg"},{"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-27313","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}