GitHub Advisoryadvisory · Go

GHSA-j99q-rwp6-498g Gitea Arbitrary File Delete Vulnerability

MEDIUM Published 2022-05-13 Modified 2024-04-24 Official page ↗
Aliases
CVE-2019-1000002
Ecosystem
Go
Packages
code.gitea.io/gitea
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-284
Reviewed
2024-04-24

Affected packages

• Go code.gitea.io/gitea: < 1.6.3 → fixed in 1.6.3

Description

Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the attacker deleting files outside the repository he/she has access to. This attack appears to be exploitable via the attacker must get write access to "any" repository including self-created ones. This vulnerability appears to have been fixed in 1.6.3, 1.7.0-rc2.

Related

Alias · CVE (1)

  • CVE-2019-1000002 Gitea version 1.6.2 and earlier contains a Incorrect Access Control vulnerability in Delete/Edit file functionallity that can result in the… vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References