CVE-2021-21686

Aliases:GHSA-4g38-hrm4-rg94BIT-jenkins-2021-21686
Advisory lineage Upstream: 0 Downstream: 5
Modified
Published: 04 Nov 2021, 16:30
Last modified:03 Aug 2024, 18:23

Vulnerability Summary

Overall Risk (default)
medium
33/100
CVSS Score
8.1 HIGH
v3.1 (nvd)
EPSS Score
0.51% LOW
1% probability +0.23%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

04 Nov 2021, 16:30
Published
Vulnerability first disclosed
03 Aug 2024, 18:23
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • v3.1CRITICALScore: 9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • v2.0MEDIUMScore: 5.8AV:N/AC:M/Au:N/C:P/I:P/A:N

EPSS Trends

Current EPSS score: 0.51% Percentile: 67%

Techniques & Countermeasures

  • CWE-59Improper Link Resolution Before File Access ('Link Following')

    The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Systems

  • jenkins projectjenkins

    ≥ unspecified, ≤ 2.318 | ≥ unspecified, ≤ LTS 2.303.2

  • UnknownJenkins

    < 2.303.3 | < 2.319

  • org.jenkins-ci.mainjenkins-core

    < 2.303.3 | ≥ 2.304, < 2.319

References (6)