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

CVE-2021-21696: Protection Mechanism Failure

November 4, 2021 (updated November 22, 2023)

Jenkins does not limit agent read/write access to the libs/ directory inside build directories when using the FilePath APIs, allowing attackers in control of agent processes to replace the code of a trusted library with a modified variant. This results in unsandboxed code execution in the Jenkins controller process.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2021-21696 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.2 up to 2.318

Solution

Unfortunately, there is no solution available yet.

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

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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