{"id":"GHSA-x3m3-g8w6-mf28","summary":"Agent-to-controller security bypass in Jenkins Semantic Versioning Plugin","details":"Jenkins Semantic Versioning Plugin defines a controller/agent message that processes a given file as XML and returns version information. The XML parser is not configured to prevent XML external entity (XXE) attacks, which is only a problem if XML documents are parsed on the Jenkins controller.\n\nJenkins Semantic Versioning Plugin 1.13 and earlier does not restrict execution of a controller/agent message to agents, and implements no limitations about the file path that can be parsed, allowing attackers able to control agent processes to have Jenkins parse a crafted file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.\n\nThis vulnerability is only exploitable in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier. See the [LTS upgrade guide](https://www.jenkins.io/doc/upgrade-guide/2.303/#upgrading-to-jenkins-lts-2-303-3).","aliases":["CVE-2022-27201"],"modified":"2023-11-08T04:08:56.887466Z","published":"2022-03-16T00:00:45Z","database_specific":{"nvd_published_at":"2022-03-15T17:15:00Z","cwe_ids":["CWE-611","CWE-918"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-11-30T20:27:14Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27201"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/semantic-versioning-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-03-15/#SECURITY-2124"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2022/03/15/2"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:semantic-versioning-plugin","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/semantic-versioning-plugin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.14"}]}],"versions":["1.0","1.10","1.13","1.2","1.3","1.4","1.6","1.7","1.8","1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-x3m3-g8w6-mf28/GHSA-x3m3-g8w6-mf28.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:H/I:L/A:N"}]}