PT-2022-13489
CVE-2022-0871
·
Published
2022-03-11
·
Updated
2026-10-01
Description by
CVSS 3.1
9.1
CriticalMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
gogs versions prior to 0.12.5
Description
The issue concerns improper authorization handling in installations that use PAM as authentication sources. Expired PAM accounts and accounts with expired passwords are continued to be seen as valid.
Recommendations
For versions prior to 0.12.5, upgrade to 0.12.5 or the latest 0.13.0+dev.
As a temporary workaround, in addition to marking PAM accounts as expired, also disable/lock them by running
usermod -L <username>. Found an issue in the description? Have something to add? Feel free to write us 👾