CVE-2021-21696 Detail

Current Description

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.

View Analysis Description

Analysis Description

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.

Severity

CVSS 3.x Severity and Metrics:

CVSS 2.0 Severity and Metrics:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

Weakness Enumeration

CWE-ID CWE Name Source
CWE-693 Protection Mechanism Failure Jenkins Project  

Change History

2 change records found show changes

Initial Analysis 11/08/2021 12:33:05 PM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* versions up to (including) 2.303.2
     *cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* versions up to (including) 2.318
Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Changed Reference Type
http://www.openwall.com/lists/oss-security/2021/11/04/3 No Types Assigned
http://www.openwall.com/lists/oss-security/2021/11/04/3 Mailing List, Third Party Advisory
Changed Reference Type
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423 No Types Assigned
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2423 Mitigation, Vendor Advisory

CVE Modified by Jenkins Project 11/04/2021 2:15:08 PM

Action Type Old Value New Value
Added Reference
http://www.openwall.com/lists/oss-security/2021/11/04/3 [No Types Assigned]

Quick Info

CVE Dictionary Entry:
CVE-2021-21696
NVD Published Date:
11/04/2021
NVD Last Modified:
11/08/2021
Source:
Jenkins Project