Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jenkins-ci.plugins/build-publisher
  4. ›
  5. CVE-2022-41231

CVE-2022-41231: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

September 21, 2022 (updated November 1, 2023)

Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any config.xml file on the Jenkins controller file system by providing a crafted file name to an API endpoint.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-41231
  • www.jenkins.io/security/advisory/2022-09-21/

Code Behaviors & Features

Detect and mitigate CVE-2022-41231 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 1.22

Solution

Unfortunately, there is no solution available yet.

Impact 5.7 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

maven/org.jenkins-ci.plugins/build-publisher/CVE-2022-41231.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:59 +0000.