PT-2022-13489 · Gogs · Gogs

Published

2022-03-11

·

Updated

2024-08-21

·

CVE-2022-0871

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/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>.

Exploit

Fix

Incorrect Authorization

Missing Authorization

Improper Authorization

Weakness Enumeration

Related Identifiers

CVE-2022-0871
GHSA-65F3-3278-7M65
GHSA-GW5H-H6HJ-F56G
GO-2022-0369

Affected Products

Gogs