Improper Authorization Affecting org.jenkins-ci.plugins:gitlab-plugin package, versions [,1.9.7)


Severity

Recommended
0.0
medium
0
10

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

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 IDSNYK-JAVA-ORGJENKINSCIPLUGINS-8660207
  • published23 Jan 2025
  • disclosed22 Jan 2025
  • creditKevin Guerroudj, Yaroslav Afenkin

Introduced: 22 Jan 2025

NewCVE-2025-24397  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:gitlab-plugin to version 1.9.7 or higher.

Overview

org.jenkins-ci.plugins:gitlab-plugin is an allows GitLab to trigger builds in Jenkins when code is committed or merge requests are opened / updated. It can also send build status back to GitLab.

Affected versions of this package are vulnerable to Improper Authorization due to an incorrect permission check in an HTTP endpoint. An attacker can enumerate credential IDs of GitLab API token credentials and Secret text credentials stored in Jenkins by exploiting the permission settings. This is only exploitable if attackers have global Item/Configure permission while lacking Item/Configure permission on any particular job.

CVSS Scores

version 4.0
version 3.1