Improper Access Control Affecting github.com/go-gitea/gitea/models package, versions <1.5.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.3% (70th 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 Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODELS-2397244
  • published10 Feb 2022
  • disclosed10 Feb 2022
  • creditcezar97

Introduced: 10 Feb 2022

CVE-2021-45331  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/go-gitea/gitea/models to version 1.5.0 or higher.

Overview

github.com/go-gitea/gitea/models is a self-hosted git service.

Affected versions of this package are vulnerable to Improper Access Control via the TOTP code for the two-factor authentication which can be submitted correctly more than once.

CVSS Scores

version 3.1