Skip to content

Arbitrary file deletion in gitea

High severity GitHub Reviewed Published May 4, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

gomod code.gitea.io/gitea (Go)

Affected versions

< 1.16.4

Patched versions

1.16.4

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.

References

Published by the National Vulnerability Database May 3, 2022
Published to the GitHub Advisory Database May 4, 2022
Reviewed May 24, 2022
Last updated Feb 1, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

No CWEs

CVE ID

CVE-2022-27313

GHSA ID

GHSA-g7p7-x6w7-w6qg

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.