VDB
Sign up
MEDIUM4.3

GHSA-pj95-ph4q-4qm4

Jenkins exposes multi-line secrets through error messages

Quick fix

GHSA-pj95-ph4q-4qm4 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

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

Details

Jenkins

Jenkins provides the `secretTextarea` form field for multi-line secrets.

Jenkins 2.478 and earlier, LTS 2.462.2 and earlier does not redact multi-line secret values in error messages generated for form submissions involving the `secretTextarea` form field.

This can result in exposure of multi-line secrets through those error messages, e.g., in the system log.

Jenkins 2.479, LTS 2.462.3 redacts multi-line secret values in error messages generated for form submissions involving the `secretTextarea` form field.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 0Fixed in: 2.462.3
Fix# pom.xml: bump <version>2.462.3</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.466Fixed in: 2.479
Fix# pom.xml: bump <version>2.479</version> for org.jenkins-ci.main:jenkins-core

References