CVE-2022-45396 – com.thalesgroup.hudson.plugins:sourcemonitor
Package
Manager: maven
Name: com.thalesgroup.hudson.plugins:sourcemonitor
Vulnerable Version: >=0 <=0.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00296 pctl0.52474
Details
XXE vulnerability on agents in Jenkins SourceMonitor Plugin SourceMonitor Plugin 0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers able to control XML input files for the 'Publish SourceMonitor results' post-build step to have agent processes parse a crafted file that uses external entities for extraction of secrets from the Jenkins agent or server-side request forgery. Because Jenkins agent processes usually execute build tools whose input (source code, build scripts, etc.) is controlled externally, this vulnerability only has a real impact in very narrow circumstances: when attackers can control XML files, but are unable to change build steps, Jenkinsfiles, test code that gets executed on the agents, or similar.
Metadata
Created: 2022-11-16T12:00:23Z
Modified: 2025-04-30T20:27:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-h4wx-78p9-fwxw/GHSA-h4wx-78p9-fwxw.json
CWE IDs: ["CWE-611"]
Alternative ID: GHSA-h4wx-78p9-fwxw
Finding: F083
Auto approve: 1