GitHub Advisoryadvisory · Maven

GHSA-jx7x-rf3f-j644 Jenkins CloudBees CD Plugin vulnerable to arbitrary file deletion

HIGH Published 2023-10-25 Modified 2023-11-02 Official page ↗
Aliases
CVE-2023-46654
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:electricflow
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-22, CWE-59
Reviewed
2023-10-30

Affected packages

• Maven org.jenkins-ci.plugins:electricflow: < 1.1.33 → fixed in 1.1.33

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-46654 Jenkins CloudBees CD Plugin 1.1.32 and earlier follows symbolic links to locations outside of the expected directory during the cleanup… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

References