Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/gitlab-plugin
  4. ›
  5. CVE-2025-24397

CVE-2025-24397: Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs

January 22, 2025

The Jenkins GitLab Plugin 1.9.6 and earlier does not correctly perform a permission check in an HTTP endpoint.

This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to enumerate credential IDs of GitLab API token credentials and Secret text credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.

An enumeration of credential IDs in GitLab Plugin 1.9.7 requires Overall/Administer permission.

References

  • github.com/advisories/GHSA-xhgq-h98j-859v
  • github.com/jenkinsci/gitlab-plugin
  • nvd.nist.gov/vuln/detail/CVE-2025-24397
  • www.jenkins.io/security/advisory/2025-01-22/

Code Behaviors & Features

Detect and mitigate CVE-2025-24397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.9.7

Fixed versions

  • 1.9.7

Solution

Upgrade to version 1.9.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

maven/org.jenkins-ci.plugins/gitlab-plugin/CVE-2025-24397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.