VDB
Sign up
MEDIUM4.3

GHSA-8qr4-27mh-hqfr

Jenkins Job Configuration History Plugin doesn't redact encrypted values of secrets in job and agent configurations

Quick fix

GHSA-8qr4-27mh-hqfr — org.jenkins-ci.plugins:jobConfigHistory: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1367</version> for org.jenkins-ci.plugins:jobConfigHistory

Details

Jenkins Job Configuration History Plugin 1356.ve360da_6c523a_ and earlier does not redact the encrypted values of secrets when displaying historical job and agent configurations through its "View as XML" / "(RAW)" feature and its configuration diff views.

This allows attackers with Item/Extended Read permission (but not Item/Configure permission) to view the encrypted values of secrets, such as build trigger tokens, that Jenkins would otherwise redact from the configuration shown to them.

Job Configuration History Plugin 1367.vc8fa_b_15101dc redacts the encrypted values of secrets when displaying historical job and agent configurations through its "View as XML" / "(RAW)" feature and its configuration diff views to users lacking Item/Configure permission.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.plugins:jobConfigHistory
Introduced in: 0Fixed in: 1367
Fix# pom.xml: bump <version>1367</version> for org.jenkins-ci.plugins:jobConfigHistory

References