HIGH8.8
GO-2022-0554
Unrestricted Upload of File with Dangerous Type in Gogs in gogs.io/gogs
Quick fix
GO-2022-0554 — gogs.io/gogs: upgrade to the fixed version with the command below.
go get gogs.io/gogs@v0.12.6Details
Unrestricted Upload of File with Dangerous Type in Gogs in gogs.io/gogs
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/gogs/gogs/security/advisories/GHSA-5gjh-5j4f-cpwv[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2022-0415[ADVISORY]
- https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284[WEB]
- https://github.com/gogs/gogs/issues/6833[WEB]
- https://github.com/gogs/gogs/pull/6838[WEB]
- https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902[WEB]