CVE-2021-21690

Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path in Jenkins 2.318 and earlier, LTS…

published November 4, 2021

CVSS
—
EPSS
3%
Percentile
84.8
In the wild
Unconfirmed
What it is

⚠️ A crafty agent process can bypass file path filtering in Jenkins like a clever cat squeezing through an open window! Think of it as a pizza delivery guy who knows he can sneak around the building because the main entrance is locked. Instead of using the main door, he takes the back route — completely avoiding security checks and accessing restricted areas! This vulnerability allows an attacker to access any file on the server by wrapping operations in an agent file path, potentially exposing sensitive data or leading to unauthorized changes. The consequences could be alarming if someone misuses this access, so vigilance is key!

Put simply

Think of it as a pizza delivery guy who knows he can sneak around the building because the main entrance is locked. Instead of using the main door, he takes the back route — completely avoiding security checks and accessing restricted areas! In Jenkins versions 2.318 and earlier, including LTS 2.303.2, agent processes can exploit a flaw that lets them bypass file path restrictions, enabling unauthorized file operations.

What to do

This vulnerability allows an attacker to access any file on the server by wrapping operations in an agent file path, potentially exposing sensitive data or leading to unauthorized changes. The consequences could be alarming if someone misuses this access, so vigilance is key! To safeguard your Jenkins setup, upgrade to the latest version immediately to patch this vulnerability. Also, review your file permissions for any sensitive data to ensure that only the necessary users have access. You're on the right track! Stay proactive, and with these steps, you'll keep your Jenkins environment secure. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.02532 · 84.8th percentile
Published
2021-11-04T16:30Z
EPSS history
Timeline
  • 04 NOV 16:30Z
    Agent processes are able to completely bypass file path filtering by wrapping the file operation in an agent file path in Jenkins 2.318 and earlier, LTS…
    cvelistv5