Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/structs
  4. ›
  5. CVE-2024-39458

CVE-2024-39458: Exposure of secrets through system log in Jenkins Structs Plugin

June 26, 2024 (updated November 6, 2024)

Structs Plugin provides utility functionality used, e.g., in Pipeline to instantiate and configure build steps, typically before their execution.

When Structs Plugin 337.v1b_04ea_4df7c8 and earlier fails to configure a build step, it logs a warning message containing diagnostic information that may contain secrets passed as step parameters.

This can result in accidental exposure of secrets through the default system log.

Structs Plugin 338.v848422169819 inspects the types of actual parameters before logging these warning messages, and limits detailed diagnostic information to FINE level log messages if secrets are involved. These log messages are not displayed in the default Jenkins system log.

References

  • github.com/advisories/GHSA-xfx3-cr74-x3cv
  • github.com/jenkinsci/structs-plugin
  • github.com/jenkinsci/structs-plugin/commit/84842216981976d920b568726f8590a7b39a56a1
  • nvd.nist.gov/vuln/detail/CVE-2024-39458
  • www.jenkins.io/security/advisory/2024-06-26/

Code Behaviors & Features

Detect and mitigate CVE-2024-39458 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 338.v848422169819

Fixed versions

  • 338.v848422169819

Solution

Upgrade to version 338.v848422169819 or above.

Impact 3.1 LOW

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-209: Generation of Error Message Containing Sensitive Information

Source file

maven/org.jenkins-ci.plugins/structs/CVE-2024-39458.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:09 +0000.