CVE-2022-0871
Gogs vulnerable to improper PAM authorization handling
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
Missing Authorization in GitHub repository gogs/gogs prior to 0.12.5.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.15 | gogs | 0.12.6-r0 |
| alpine 3.16 | gogs | 0.12.6-r0 |
| alpine 3.17 | gogs | 0.12.6-r0 |
| alpine 3.18 | gogs | 0.12.6-r0 |
| alpine 3.19 | gogs | 0.12.6-r0 |
| alpine 3.20 | gogs | 0.12.6-r0 |
| go::GitHub Security Advisory Go | gogs.io/gogs | 0.12.5 |
References
- https://github.com/gogs/gogs
- https://github.com/gogs/gogs/commit/64102be2c90e1b47dbdd379873ba76c80d4b0e78
- https://github.com/gogs/gogs/issues/6810
- https://github.com/gogs/gogs/security/advisories/GHSA-gw5h-h6hj-f56g
- https://huntr.dev/bounties/ea82cfc9-b55c-41fe-ae58-0d0e0bd7ab62
- https://nvd.nist.gov/vuln/detail/CVE-2022-0871