Improper Access Control Affecting code.gitea.io/gitea package, versions <1.20.6>=1.21.0 <1.21.1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.12% (47th 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-CODEGITEAIOGITEA-6097270
  • published4 Dec 2023
  • disclosed3 Dec 2023
  • creditUnknown

Introduced: 3 Dec 2023

CVE-2023-49946  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade code.gitea.io/gitea to version 1.20.6, 1.21.1 or higher.

Overview

code.gitea.io/gitea is a self-hosted git service.

Affected versions of this package are vulnerable to Improper Access Control due to the lack of proper permission checks on certain endpoints. An attacker can read private issues, read private pull requests, delete issues, and perform other unauthorized actions by sending requests to these endpoints.

CVSS Scores

version 3.1