PT-2021-5385 · Jenkins · Jenkins
Daniel Beck
·
Published
2021-11-04
·
Updated
2024-03-06
·
CVE-2021-21688
CVSS v3.1
9.0
Critical
| Vector | AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins versions 2.318 and earlier, LTS versions 2.303.2 and earlier
Description
The issue is related to the absence of an authorization procedure in the FilePath#reading(FileVisitor) component of the Jenkins automation server. This allows a remote attacker to have unrestricted read access to files using certain operations, such as creating archives or using the FilePath#copyRecursiveTo operation. The estimated number of potentially affected devices worldwide is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations
For Jenkins versions 2.318 and earlier, update to a version that includes the fix for this issue.
For 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#reading(FileVisitor) component until a patch is available.
Avoid using the FilePath#copyRecursiveTo operation in the affected API endpoint until the issue is resolved.
Fix
Missing Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins