GitHub Advisory Database
GHSA-hpmr-prr2-cqc4
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/go-gitea/gitea | All versions before 1.7.6 (fixed in 1.7.6) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11229
- https://github.com/go-gitea/gitea/pull/6593
- https://github.com/go-gitea/gitea/pull/6595
- https://github.com/go-gitea/gitea/releases/tag/v1.7.6
- https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3
- https://www.exploit-db.com/exploits/49383
- http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html