GHSA-4598-wcg8-x56g

Suggest an improvement
Source
https://github.com/advisories/GHSA-4598-wcg8-x56g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-4598-wcg8-x56g/GHSA-4598-wcg8-x56g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4598-wcg8-x56g
Aliases
  • CVE-2022-45386
Published
2022-11-16T12:00:23Z
Modified
2024-02-16T08:07:31.776647Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
XML External Entity Reference in Jenkins Violations Plugin
Details

Violations Plugin 0.7.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

This allows attackers to control XML input files for the 'Report Violations' 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.

Database specific
{
    "nvd_published_at": "2022-11-15T20:15:00Z",
    "cwe_ids": [
        "CWE-611"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-21T22:22:34Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:violations

Package

Name
org.jenkins-ci.plugins:violations
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/violations

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.7.11

Affected versions

0.*

0.7.9
0.7.10
0.7.11