jenkinsci/electricflow-plugin · Security
Jenkins CloudBees CD Plugin vulnerable to arbitrary file read
- GHSA ID
- GHSA-9ggw-h9mf-4jh7
- CVE ID
- CVE-2023-46655
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
Jenkins CloudBees CD Plugin temporarily copies files from an agent workspace to the controller in preparation for publishing them in the 'CloudBees CD - Publish Artifact' post-build step.
CloudBees CD Plugin 1.1.32 and earlier follows symbolic links to locations outside of the temporary directory on the controller when collecting the list of files to publish.
This allows attackers able to configure jobs to publish arbitrary files from the Jenkins controller file system to the previously configured CloudBees CD server.
CloudBees CD Plugin 1.1.33 ensures that only files located within the expected directory are published.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59 · Improper Link Resolution Before File Access ('Link Following')
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-46655 ↗
- https://www.jenkins.io/security/advisory/2023-10-25/#SECURITY-3238 ↗
- http://www.openwall.com/lists/oss-security/2023/10/25/2 ↗
- https://github.com/jenkinsci/electricflow-plugin/commit/e45ca8428ae45f45ca07611e802eaa0f1484ab50 ↗
- https://github.com/advisories/GHSA-9ggw-h9mf-4jh7 ↗