CVE-2023-46654: Jenkins CloudBees CD Plugin Arbitrary File Deletion

Summary

25/10/2023
Yes i
High
8.0

CVE-2023-46654: Jenkins CloudBees CD Plugin vulnerable to arbitrary file deletion. Affects org.jenkins-ci.plugins:electricflow versions < 1.1.33. Fixed in 1.1.33. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins CloudBees CD Plugin is a Maven package (org.jenkins-ci.plugins:electricflow) that provides functionality for integrating CloudBees CD with Jenkins. It allows users to configure jobs to publish artifacts to CloudBees CD as a post-build step. This plugin is widely used in Jenkins environments to automate the deployment process and streamline the continuous delivery pipeline.

Vulnerability Detail

Jenkins CloudBees CD Plugin version 1.1.32 and earlier is vulnerable to arbitrary file deletion. During the cleanup process of the 'CloudBees CD - Publish Artifact' post-build step, the plugin follows symbolic links to locations outside of the expected directory. This allows attackers with the ability to configure jobs to delete arbitrary files on the Jenkins controller file system. The vulnerability is rated as HIGH severity and has been assigned CVE-2023-46654. It is classified under CWE-22, which refers to the improper handling of symbolic links.

How To Fix

Minimum fixed version

1.1.33

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of the Jenkins CloudBees CD Plugin.

Conclusion

The Jenkins CloudBees CD Plugin version 1.1.32 and earlier is vulnerable to arbitrary file deletion, which can be exploited by attackers with job configuration access. To mitigate this vulnerability, users should upgrade to version 1.1.33 or later of the plugin. It is recommended to regularly monitor for vulnerabilities in open-source software using tools like Vulert. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:electricflow →

Share this vulnerability

FAQ

This vulnerability allows attackers with job configuration access to delete arbitrary files on the Jenkins controller file system. This can lead to data loss, disruption of the CI/CD pipeline, and potential compromise of the Jenkins environment.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins environment is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file as input.

At the time of this advisory, there are no known public exploits specifically targeting this vulnerability. However, it is important to apply the fix promptly to mitigate the risk of potential attacks.

No, a CVSS score has not been provided for this vulnerability at the moment.

You can find more information about the Jenkins CloudBees CD Plugin on the official Jenkins website or the plugin's documentation page.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:electricflow.

How To Fix

Minimum fixed version

1.1.33

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback