Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.main/jenkins-core
  4. ›
  5. CVE-2021-21686

CVE-2021-21686: Improper Link Resolution Before File Access ('Link Following')

November 4, 2021 (updated November 22, 2023)

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

References

  • nvd.nist.gov/vuln/detail/CVE-2021-21686
  • www.jenkins.io/security/advisory/2021-11-04/

Code Behaviors & Features

Detect and mitigate CVE-2021-21686 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions after 2.303.3 before 2.319

Fixed versions

  • 2.319

Solution

Upgrade to version 2.319 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.jenkins-ci.main/jenkins-core/CVE-2021-21686.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:15:27 +0000.