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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Jenkins | Jenkins | * | 2.303.2 (including) |
Jenkins | Jenkins | * | 2.318 (including) |
Red Hat OpenShift Container Platform 3.11 | RedHat | jenkins-0:2.303.3.1637698110-1.el7 | * |
Red Hat OpenShift Container Platform 4.6 | RedHat | jenkins-0:2.303.3.1637597493-1.el8 | * |
Red Hat OpenShift Container Platform 4.7 | RedHat | jenkins-0:2.303.3.1637597018-1.el8 | * |
Red Hat OpenShift Container Platform 4.8 | RedHat | jenkins-0:2.303.3.1637596565-1.el8 | * |
Red Hat OpenShift Container Platform 4.9 | RedHat | jenkins-0:2.303.3.1637595827-1.el8 | * |