CVE-2021-21676 Missing permission check in Jenkins requests-plugin Plugin allows sending emails
Attackers with read permissions can send test emails to arbitrary addresses due to missing permission checks in the Jenkins requests-plugin.
- 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-21676?
CVE-2021-21676 is a medium-severity missing authorization vulnerability in Jenkins requests-plugin Plugin, published on 30 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins requests-plugin Plugin 2.2.7 and earlier does not perform a permission check in an HTTP endpoint, allowing attackers with Overall/Read permission to send test emails to an attacker-specified email address.
Weakness: CWE-862
Which versions are affected by CVE-2021-21676?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:requests. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:requests Maven | All versions | 2.2.8 |
org.jenkins-ci.plugins:requests Maven | All versions | 2.2.8 |
Products include Jenkins Requests.
How do I fix CVE-2021-21676?
Upgrade org.jenkins-ci.plugins:requests to 2.2.8 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-21676 being exploited?
There is no known exploitation of CVE-2021-21676 in the wild and no public exploit code.
Other vulnerabilities in Jenkins requests-plugin Plugin
Sources
Also known as GHSA-w3gm-vv58-wr55.