CVE-2021-21626 Missing permission checks in Jenkins Warnings Next Generation Plugin allow listing workspace contents
Attackers with read permissions can bypass authorization checks to verify if specific file patterns exist in the workspace.
- 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-21626?
CVE-2021-21626 is a medium-severity missing authorization vulnerability in Jenkins Warnings Next Generation Plugin, published on 18 Mar 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Warnings Next Generation Plugin 8.4.4 and earlier does not perform a permission check in methods implementing form validation, allowing attackers with Item/Read permission but without Item/Workspace or Item/Configure permission to check whether attacker-specified file patterns match workspace contents.
Weakness: CWE-862
Which versions are affected by CVE-2021-21626?
2 open source packages ship an affected version, including io.jenkins.plugins:warnings-ng. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.jenkins.plugins:warnings-ng Maven | All versions | 8.5.0 |
io.jenkins.plugins:warnings-ng Maven | All versions | 8.5.0 |
Products include Jenkins Warnings Next Generation.
How do I fix CVE-2021-21626?
Upgrade io.jenkins.plugins:warnings-ng to 8.5.0 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2021-21626 being exploited?
There is no known exploitation of CVE-2021-21626 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Warnings Next Generation Plugin
- CVE-2019-1003008 Jenkins Warnings Next Generation Plugin cross-site request forgery vulnerability
- CVE-2022-23107 Path Traversal in Jenkins Warnings Next Generation Plugin
- CVE-2019-1003023 XSS vulnerability in Jenkins Warnings Next Generation Plugin
- CVE-2019-10325 Jenkins Warnings NG Plugin Cross-site scripting vulnerability
- CVE-2019-10326 Jenkins Warnings NG Plugin cross-site request forgery vulnerability
Sources
Also known as GHSA-7j3x-xm4j-jfj7.