Improper Authorization Affecting github.com/go-gitea/gitea/modules/auth package, versions <1.16.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODULESAUTH-2421231
  • published11 Mar 2022
  • disclosed11 Mar 2022
  • creditysf

Introduced: 11 Mar 2022

CVE-2022-0905  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade github.com/go-gitea/gitea/modules/auth to version 1.16.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Authorization build and configured for via the PAM authentication. It causes a skip-checking authorization completely which enables expired accounts and accounts with expired passwords to still login.

CVSS Scores

version 3.1