WaratekVRT Sign in

CVE-2022-41231 Jenkins Build-Publisher

Affected softwareJenkins Build-Publisher
Severity5.7 Medium CVSS 3.1 2 scores
WeaknessPath traversal (CWE-22)
Published21 Sep 2022
Updated17 Jun 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2022-41231

Apply the vendor's fix for Jenkins Build-Publisher. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.7 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.7 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N NVD Primary published
CVSS 3.1 5.7 MEDIUM CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.jenkins-ci.plugins:build-publisher 0 none 1.22

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd jenkins build-publisher generic ≤ 1.22
osv org.jenkins-ci.plugins build-publisher generic ≤ 1.22

References

URLTags
https://github.com/jenkins-infra/update-center2/pull/644 WEB
https://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2139 WEB

Timeline

Published2022-09-21By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.