4.3medium
Missing permission checks in Jenkins Warnings Next Generation Plugin allow listing workspace contents
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-7j3x-xm4j-jfj7
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Warnings Next Generation Plugin | from unspecified up to 8.4.4 Not affected: 8.4.3.1 | CVE List |
| io.jenkins.plugins:warnings-ng (Maven) | before 8.5.0 | GitHub Advisory Database |
| jenkins warnings_next_generation | up to 8.4.4 | NVD |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Jenkins Warnings Next Generation Plugin 8.4.4 and earlier does not perform permission checks in methods implementing form validation.
This allows attackers with Item/Read permission but without Item/Workspace or Item/Configure permission to check whether attacker-specified file patterns match workspace contents. A sequence of requests can be used to effectively list workspace contents.
Jenkins Warnings Next Generation Plugin 8.5.0 requires Item/Configure permission to validate patterns with workspace contents.
NVD (es)
Jenkins Warnings Next Generation Plugin versiones 8.4.4 y anteriores, no lleva a cabo una comprobación de permisos en los métodos que implementan una validación de formularios, permitiendo a atacantes con permiso Item/Read pero sin permiso Item/Workspace o Item/Configure para comprobar si los patrones de archivo especificados por el atacante coinciden con el contenido del espacio de trabajo
References
| https://www.jenkins.io/security/advisory/2021-03-18/#SECURITY-2041 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2021/03/18/5 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21626 | advisory | |
| https://github.com/jenkinsci/warnings-ng-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21626 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7j3x-xm4j-jfj7 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21626 changed 2026-06-17 | Public domain |