CVE-2021-21697

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier allows any agent to read and write the contents of any build directory stored in Jenkins with very few…

published November 4, 2021

CVSS
—
EPSS
2%
Percentile
75.6
In the wild
Unconfirmed
What it is

⚠️ A Jenkins agent can access ANY build directory, which is like giving a party crasher a master key to every room in the house! 🔑 Think of Jenkins as a huge shared workspace where different teams have their own offices. If one of the agents can wander into any office without permission, they could snoop on private files or even mess up ongoing projects, creating chaos for everyone. This vulnerability could allow a rogue agent to read sensitive build artifacts or even overwrite critical files. Imagine an unauthorized guest picking up your confidential documents and reshuffling them — the potential for disruption is enormous!

Put simply

Think of Jenkins as a huge shared workspace where different teams have their own offices. If one of the agents can wander into any office without permission, they could snoop on private files or even mess up ongoing projects, creating chaos for everyone. CVE-2021-21697 affects Jenkins versions 2.318 and earlier, allowing any agent to read and write build directories without proper restrictions, essentially bypassing security controls meant to protect those contents.

What to do

This vulnerability could allow a rogue agent to read sensitive build artifacts or even overwrite critical files. Imagine an unauthorized guest picking up your confidential documents and reshuffling them — the potential for disruption is enormous! To secure your Jenkins environment, upgrade to version 2.319 or later and LTS 2.303.3 or later. Always ensure proper access controls are in place to limit what agents can do and see. You've got this! By taking these steps, you'll keep your Jenkins environment locked down tight. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01602 · 75.6th percentile
Published
2021-11-04T16:30Z
EPSS history
Timeline
  • 04 NOV 16:30Z
    Jenkins 2.318 and earlier, LTS 2.303.2 and earlier allows any agent to read and write the contents of any build directory stored in Jenkins with very few…
    cvelistv5