CVE-2022-27201 Agent-to-controller security bypass in Jenkins Semantic Versioning Plugin
Attackers controlling agent processes can exploit XML external entity vulnerabilities to extract secrets or perform server-side request forgery on the Jenkins controller.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-27201?
CVE-2022-27201 is a medium-severity vulnerability in Jenkins Semantic Versioning Plugin, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Semantic Versioning Plugin 1.13 and earlier does not restrict execution of an 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.
Which versions are affected by CVE-2022-27201?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:semantic-versioning-plugin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:semantic-versioning-plugin Maven | All versions | 1.14 |
org.jenkins-ci.plugins:semantic-versioning-plugin Maven | All versions | 1.14 |
Products include Jenkins Semantic Versioning.
How do I fix CVE-2022-27201?
Upgrade org.jenkins-ci.plugins:semantic-versioning-plugin to 1.14 or later.
Is CVE-2022-27201 being exploited?
There is no known exploitation of CVE-2022-27201 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Semantic Versioning Plugin
Sources
Also known as GHSA-x3m3-g8w6-mf28.