ADVISORIES

GitHub Advisory Database

GHSA-279f-qwgh-h5mp

Jenkins does not exclude sensitive build variables from search

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.main:jenkins-core
From 2.50 before 2.414.2 (fixed in 2.414.2)
Mavenorg.jenkins-ci.main:jenkins-core
From 2.415 before 2.424 (fixed in 2.424)

References