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

CVE-2021-21695: Missing Authorization

November 4, 2021 (updated November 22, 2023)

FilePath#listFiles lists files outside directories that agents are allowed to access when following symbolic links in Jenkins.

References

  • www.openwall.com/lists/oss-security/2021/11/04/3
  • nvd.nist.gov/vuln/detail/CVE-2021-21695
  • www.jenkins.io/security/advisory/2021-11-04/

Code Behaviors & Features

Detect and mitigate CVE-2021-21695 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.8 HIGH

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

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-21695.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:46 +0000.