PT-2021-5581 · Jenkins · Jenkins
Daniel Beck
·
Published
2021-11-04
·
Updated
2024-03-06
·
CVE-2021-21692
CVSS v2.0
10
Critical
| Vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Jenkins versions 2.318 and earlier
Jenkins LTS versions 2.303.2 and earlier
Description
The issue is related to a flaw in the authorization mechanism of the Jenkins automation server. This flaw allows a remote attacker to impact the confidentiality, integrity, and availability of protected information. The
FilePath#renameTo and FilePath#moveAllChildrenTo functions in Jenkins only check for 'read' agent-to-controller access permission on the source path, instead of 'delete'.Recommendations
For Jenkins versions 2.318 and earlier, update to a version that includes the fix for this issue.
For Jenkins LTS versions 2.303.2 and earlier, update to a version that includes the fix for this issue.
As a temporary workaround, consider restricting access to the
FilePath#renameTo and FilePath#moveAllChildrenTo functions until a patch is available.Fix
Path traversal
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Jenkins