VDB
Sign up
MEDIUM4.3

GHSA-279f-qwgh-h5mp

Jenkins does not exclude sensitive build variables from search

Quick fix

GHSA-279f-qwgh-h5mp — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.414.2</version> for org.jenkins-ci.main:jenkins-core

Details

Jenkins allows filtering builds in the build history widget by specifying an expression that searches for matching builds by name, description, parameter values, etc.

Jenkins 2.50 through 2.423 (both inclusive), LTS 2.60.1 through 2.414.1 (both inclusive) does not exclude sensitive build variables (e.g., password parameter values) from this search.

This allows attackers with Item/Read permission to obtain values of sensitive variables used in builds by iteratively testing different characters until the correct sequence is discovered.

Jenkins 2.424, LTS 2.414.2 excludes sensitive variables from this search.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.50Fixed in: 2.414.2
Fix# pom.xml: bump <version>2.414.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.415Fixed in: 2.424
Fix# pom.xml: bump <version>2.424</version> for org.jenkins-ci.main:jenkins-core

References