GHSA-hpmr-prr2-cqc4

Suggest an improvement
Source
https://github.com/advisories/GHSA-hpmr-prr2-cqc4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-hpmr-prr2-cqc4/GHSA-hpmr-prr2-cqc4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-hpmr-prr2-cqc4
Aliases
Published
2022-02-15T01:57:18Z
Modified
2024-08-21T15:57:24Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C CVSS Calculator
Summary
Gitea Remote Code Execution
Details

models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.

Database specific
{
    "cwe_ids":  [
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-05-12T17:52:21Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

Go / github.com/go-gitea/gitea

Package

Name
github.com/go-gitea/gitea
View open source insights on deps.dev
Purl
pkg:golang/github.com/go-gitea/gitea

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-hpmr-prr2-cqc4/GHSA-hpmr-prr2-cqc4.json"