ADVISORIES

GitHub Advisory Database

GHSA-j99q-rwp6-498g

Gitea Arbitrary File Delete Vulnerability

Moderate CVE-2019-1000002

Details

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.

Affected packages

EcosystemPackageAffected versions
Gocode.gitea.io/gitea
All versions before 1.6.3 (fixed in 1.6.3)

References