| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| org.jenkins-ci.main:jenkins-core | maven | >= 2.304, <= 2.318 | 2.319 |
| org.jenkins-ci.main:jenkins-core | maven | < 2.303.3 | 2.303.3 |
The vulnerability (CVE-2021-21693) stems from improper authorization checks during temporary file/directory creation. The commit diff shows removal of deserialization guards (REJECT_LOCAL_CALLABLE_DESERIALIZATION and readResolve) for Mkdirs and Touch callables, which are executed when agents request file operations on the controller. Prior to the fix, these operations likely created files/directories first and then performed checks, violating the 'check-before-use' principle. The advisory explicitly cites SECURITY-2539, which addresses this flaw by enforcing pre-creation checks. The removed code suggests these callables were previously restricted but improperly validated during execution, leading to post-creation authorization bypasses.
KEV Misses 88% of Exploited CVEs- Get the report