CVE-2021-21686 Detail

Current Description

File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.

View Analysis Description

Analysis Description

File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.

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-59 Improper Link Resolution Before File Access (‘Link Following’) NIST  
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (‘Path Traversal’) Jenkins Project  

Change History

1 change records found show changes

Initial Analysis 11/08/2021 9:38:53 AM

Action Type Old Value New Value
Added CPE Configuration
OR
     *cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:* versions up to (excluding) 2.303.3
     *cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:* versions up to (excluding) 2.319
Added CVSS V2
NIST (AV:N/AC:M/Au:N/C:P/I:P/A:N)
Added CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Added CWE
NIST CWE-59
Changed Reference Type
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455 No Types Assigned
https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455 Vendor Advisory

Quick Info

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