CVE-2021-21657 XXE vulnerability in Jenkins Filesystem Trigger Plugin
An attacker can exploit XML external entity vulnerabilities in the Jenkins Filesystem Trigger Plugin to read sensitive files or cause denial of service.
- 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-2021-21657?
CVE-2021-21657 is a high-severity vulnerability in Jenkins Filesystem Trigger Plugin, published on 25 May 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Filesystem Trigger Plugin 0.40 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
Which versions are affected by CVE-2021-21657?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:fstrigger. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:fstrigger Maven | All versions | 0.41 |
org.jenkins-ci.plugins:fstrigger Maven | All versions | 0.41 |
Products include Jenkins Filesystem Trigger.
How do I fix CVE-2021-21657?
Upgrade org.jenkins-ci.plugins:fstrigger to 0.41 or later.
Is CVE-2021-21657 being exploited?
There is no known exploitation of CVE-2021-21657 in the wild and no public exploit code.
Sources
Also known as GHSA-cphv-7cxw-5hcc.