Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins.workflow/workflow-cps
  4. ›
  5. CVE-2022-25176

CVE-2022-25176: Improper Link Resolution Before File Access ('Link Following')

February 16, 2022 (updated June 20, 2022)

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.

References

  • github.com/advisories/GHSA-6473-gqrj-4p65
  • nvd.nist.gov/vuln/detail/CVE-2022-25176
  • www.jenkins.io/security/advisory/2022-02-15/

Code Behaviors & Features

Detect and mitigate CVE-2022-25176 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2648.va9433432b33c

Fixed versions

  • 2648.2651.v230593e03e9f

Solution

Upgrade to version 2648.2651.v230593e03e9f or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

maven/org.jenkins-ci.plugins.workflow/workflow-cps/CVE-2022-25176.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:14 +0000.