CVE-2021-21693
Java vulnerability analysis and mitigation

Overview

CVE-2021-21693 is a security vulnerability discovered in Jenkins 2.318 and earlier, and LTS 2.303.2 and earlier, related to temporary file creation permissions. The vulnerability was disclosed on November 4, 2021, as part of a larger security advisory addressing multiple vulnerabilities in Jenkins core (Jenkins Advisory).

Technical details

The vulnerability stems from a flaw in the agent-to-controller security subsystem where permission to create temporary files is only checked after they have been created. This implementation weakness is part of the file path filtering system that controls which files on the Jenkins controller can be accessed by agent processes. The issue was tracked as SECURITY-2539 and was present since approximately 2014 when SECURITY-144 was addressed (Jenkins Advisory).

Impact

This vulnerability could potentially allow agent processes to bypass intended access controls during temporary file creation operations, potentially leading to unauthorized file operations on the Jenkins controller file system. The vulnerability was part of a larger set of critical file path filtering bypass issues that could allow agent processes to read and write arbitrary files on the Jenkins controller file system (Jenkins Advisory).

Mitigation and workarounds

The vulnerability was fixed in Jenkins 2.319 and LTS 2.303.3, where permission to create files is now checked before they are created based on an artificial path. For users unable to immediately upgrade, installing the Remoting Security Workaround Plugin was recommended as a temporary solution, though this plugin is more restrictive and may cause incompatibility with some plugins (Jenkins Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management