Improper Authentication Affecting github.com/go-gitea/gitea/modules/auth package, versions <1.8.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.22% (60th 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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODULESAUTH-2841490
  • published22 May 2022
  • disclosed22 May 2022
  • creditUnknown

Introduced: 22 May 2022

CVE-2019-11576  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Improper Authentication. Allows 1FA for user accounts that have completed 2FA enrolment. If a user's credentials are known, then an attacker could send them to the API without requiring the 2FA one-time password.

CVSS Scores

version 3.1