ADVISORIES

GitHub Advisory Database

GHSA-jx7x-rf3f-j644

Jenkins CloudBees CD Plugin vulnerable to arbitrary file deletion

Details

In Jenkins CloudBees CD Plugin, artifacts that were previously copied from an agent to the controller are deleted after publishing by the 'CloudBees CD - Publish Artifact' post-build step.

CloudBees CD Plugin 1.1.32 and earlier follows symbolic links to locations outside of the expected directory during this cleanup process.

This allows attackers able to configure jobs to delete arbitrary files on the Jenkins controller file system.

CloudBees CD Plugin 1.1.33 deletes symbolic links without following them.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:electricflow
All versions before 1.1.33 (fixed in 1.1.33)

References