CVE-2022-25176: Medium severity jenkins pipeline vulnerability
A flaw was found in Jenkins. The Pipeline: Groovy Plugin follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines. This flaw allows attackers who can configure Pipelines to read arbitrary files on the Jenkins controller file system.
Other sources
Jenkins Pipeline: Groovy Plugin 2648.va9433432b33c and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines, allowing attackers able to configure Pipelines to read arbitrary files on the Jenkins controller file system.
Pipeline: Groovy Plugin 2648.va9433432b33c and earlier follows symbolic links to locations outside of the checkout directory for the configured SCM when reading the script file (typically Jenkinsfile) for Pipelines. 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-25176?
CVE-2022-25176 is considered a moderate severity vulnerability.
How do I fix CVE-2022-25176?
To resolve CVE-2022-25176, upgrade to Jenkins Pipeline: Groovy Plugin versions specified in the patch notes, ensuring your installation is not on the affected versions.
What are the affected versions for CVE-2022-25176?
CVE-2022-25176 affects specific versions of the Jenkins Pipeline: Groovy Plugin prior to the patched versions listed in the advisory.
What type of vulnerability is CVE-2022-25176?
CVE-2022-25176 is a path traversal vulnerability that allows unauthorized file access.
Who is at risk from CVE-2022-25176?
Attackers who can configure Pipelines in Jenkins are at risk of exploiting CVE-2022-25176 to read arbitrary files.