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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.23% (61st percentile)
Expand this section
NVD
9.8 critical

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 ID SNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODULESCONTEXT-2841491
  • published 22 May 2022
  • disclosed 22 May 2022
  • credit Unknown

How to fix?

Upgrade github.com/go-gitea/gitea/modules/context 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.