VDB
KO
HIGH 7.5

GHSA-fxxf-w25w-mcx2

Jenkins Credentials Binding Plugin does not properly sanitize file names for file and zip file credentials

Details

Jenkins Credentials Binding Plugin 720.v3f6decef43ea_ and earlier does not properly sanitize file names for file and zip file credentials.

This allows attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem. If Jenkins is configured to allow a low-privileged user to configure file or zip file credentials used for a job running on the built-in node, this can lead to remote code execution.

Credentials Binding Plugin 725.ve52b_2328a_fde improves sanitization of the file name provided for file and zip file credentials, preventing path traversal.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.jenkins-ci.plugins:credentials-binding
Introduced in: 0 Fixed in: 725.ve52b
Fix # pom.xml: bump <version>725.ve52b</version> for org.jenkins-ci.plugins:credentials-binding

References