Improper Authentication Affecting org.jenkins-ci.plugins:gitea package, versions [,1.4.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (26th 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-JAVA-ORGJENKINSCIPLUGINS-3164761
  • published8 Dec 2022
  • disclosed8 Dec 2022
  • creditAsi Greenholts

Introduced: 8 Dec 2022

CVE-2022-46685  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:gitea to version 1.4.5 or higher.

Overview

org.jenkins-ci.plugins:gitea is a provides the Jenkins integrations for Gitea.

Affected versions of this package are vulnerable to Improper Authentication due to the implementation of authentication tokens which do not support credentials masking. This can expose Gitea personal access tokens in the build log, e.g., when printed as part of repository URLs.

Workaround

Users who are unable to upgrade to the fixed version are advised to use SSH checkout instead.

CVSS Scores

version 3.1