{"id":"GHSA-4598-wcg8-x56g","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.\n\nThis 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.\n\nBecause 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.","aliases":["CVE-2022-45386"],"modified":"2024-02-16T08:07:31.776647Z","published":"2022-11-16T12:00:23Z","database_specific":{"github_reviewed_at":"2022-11-21T22:22:34Z","nvd_published_at":"2022-11-15T20:15:00Z","cwe_ids":["CWE-611"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45386"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/violations-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-766"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/11/15/4"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:violations","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/violations"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.7.11"}]}],"versions":["0.7.10","0.7.11","0.7.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-4598-wcg8-x56g/GHSA-4598-wcg8-x56g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}