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

CVE-2021-21692: Incorrect Authorization

November 4, 2021 (updated November 22, 2023)

FilePath#renameTo and FilePath#moveAllChildrenTo in Jenkins only check ‘read’ agent-to-controller access permission on the source path, instead of ‘delete’.

References

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

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions after 2.303.3 before 2.319

Fixed versions

  • 2.319

Solution

Upgrade to version 2.319 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:09 +0000.