Advisory

GHSA-j99q-rwp6-498g

Also known as: CVE-2019-1000002

Summary

Gitea Arbitrary File Delete Vulnerability

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-13 01:21 UTC
Modified
2024-04-24 21:11 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.6.3 (semver)

Fixed versions

1.6.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences