GHSA-j99q-rwp6-498g

Suggest an improvement
Source
https://github.com/advisories/GHSA-j99q-rwp6-498g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j99q-rwp6-498g/GHSA-j99q-rwp6-498g.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-j99q-rwp6-498g
Aliases
Published
2022-05-13T01:21:42Z
Modified
2024-04-24T21:11:52.827462Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
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.

Database specific
{
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-284"
    ],
    "nvd_published_at": "2019-02-04T21:29:00Z",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T20:58:26Z"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.3

Database specific

{
    "last_known_affected_version_range": "<= 1.6.2"
}