Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not limit agent read/write access to the libs/ directory inside build directories when using the FilePath APIs, allowing attackers in control of agent processes to replace the code of a trusted library with a modified variant. This results in unsandboxed code execution in the Jenkins controller process.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: jenkins

Published: 2021-11-04T16:30:41

Updated: 2024-08-03T18:23:29.397Z

Reserved: 2021-01-04T00:00:00

Link: CVE-2021-21696

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-11-04T17:15:08.873

Modified: 2023-11-22T21:22:27.883

Link: CVE-2021-21696

cve-icon Redhat

Severity : Important

Publid Date: 2021-11-04T14:20:00Z

Links: CVE-2021-21696 - Bugzilla