8.8high
Jenkins Warnings Next Generation Plugin cross-site request forgery vulnerability
- Severity
- 8.8high CVSS:3.0 by NVD
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-whf8-3h58-2w9f
Description
A cross-site request forgery vulnerability exists in Jenkins Warnings Next Generation Plugin 2.1.1 and earlier in src/main/java/io/jenkins/plugins/analysis/warnings/groovy/GroovyParser.java that allows attackers to execute arbitrary code via a form validation HTTP endpoint.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Warnings Next Generation Plugin | 2.1.1 and earlier | CVE List |
| io.jenkins.plugins:warnings-ng (Maven) | up to 2.1.1 | GitHub Advisory Database |
| jenkins warnings_next_generation | up to 2.1.1 | NVD |
All scores
| GitHub | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
A cross-site request forgery vulnerability exists in Jenkins Warnings Next Generation Plugin 2.1.1 and earlier in src/main/java/io/jenkins/plugins/analysis/warnings/groovy/GroovyParser.java that allows attackers to execute arbitrary code via a form validation HTTP endpoint.
GitHub Advisory Database
Jenkins Warnings Next Generation Plugin has a form validation HTTP endpoint used to validate a Groovy script through compilation, which was not subject to sandbox protection. The endpoint checked for the Overall/RunScripts permission, but did not require POST requests, so it was vulnerable to cross-site request forgery (CSRF). This allowed attackers to execute arbitrary code on the Jenkins controller by applying AST transforming annotations such as @Grab to source code elements.
The affected HTTP endpoint now applies a safe Groovy compiler configuration preventing the use of unsafe AST transforming annotations. Additionally, the form validation HTTP endpoint now requires that requests be sent via POST to prevent CSRF.
NVD (es)
Existe una vulnerabilidad Cross-Site Request Forgery (CSRF) en Jenkins Warnings Next Generation Plugin, en versiones 2.1.1 y anteriores, en src/main/java/io/jenkins/plugins/analysis/warnings/groovy/GroovyParser.java, que permite que los atacantes ejecuten código arbitrario mediante un endpoint HTTP de validación de formularios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-1003008 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-whf8-3h58-2w9f changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2019-1003008 changed 2026-06-17 | Public domain |