Improper Authentication Affecting gitea package, versions <1.14.6-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (48th 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-ALPINE320-GITEA-7011606
  • published23 May 2024
  • disclosed30 Sept 2020

Introduced: 30 Sep 2020

CVE-2020-26160  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 gitea to version 1.14.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gitea package and not the gitea package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.

CVSS Scores

version 3.1