CVE-2022-25177: Medium severity jenkins pipeline vulnerability
A flaw was found in Jenkins. The Pipeline: Shared Groovy Libraries follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step. This flaw allows attackers who can configure Pipelines to read arbitrary files on the Jenkins controller file system.
Other sources
Jenkins Pipeline: Shared Groovy Libraries Plugin 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.
Pipeline: Shared Groovy Libraries 552.vd9cc05b8a2e1 and earlier follows symbolic links to locations outside of the expected Pipeline library when reading files using the libraryResource step. This allows attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.
References:
https://www.jenkins.io/security/advisory/2022-02-15/
— Red Hat
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2022-25177?
CVE-2022-25177 is classified as a high-severity vulnerability due to its potential to expose sensitive files.
How do I fix CVE-2022-25177?
To fix CVE-2022-25177, update to the latest versions of Jenkins Pipeline: Shared Groovy Libraries as specified in the security advisory.
Who is affected by CVE-2022-25177?
CVE-2022-25177 affects Jenkins users who have configured Pipelines that utilize Shared Groovy Libraries.
What type of attack can be executed due to CVE-2022-25177?
CVE-2022-25177 can be exploited to read arbitrary files on the Jenkins controller by attackers with pipeline configuration access.
Is there a fixed version for CVE-2022-25177?
Yes, users should upgrade to Jenkins versions that are beyond the specified vulnerable plugin versions to mitigate CVE-2022-25177.