6.5medium
Excessive memory allocation in graph URLs leads to denial of service in Jenkins
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.46% (higher than 74% of CVEs)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-cxqw-vjcr-gp5gBIT-JENKINS-2021-21607
Description
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not limit sizes provided as query parameters to graph-rendering URLs, allowing attackers to request crafted URLs that use all available memory in Jenkins, potentially leading to out of memory errors.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins | from unspecified up to 2.274, from unspecified up to LTS 2.263.1 | CVE List |
| org.jenkins-ci.main:jenkins-core (Maven) | before 2.263.2, from 2.264 before 2.275 | GitHub Advisory Database |
| jenkins jenkins | up to 2.263.1, up to 2.274 | NVD |
| jenkins (Bitnami) | before 2.274.1 | Bitnami Vulnerability Database |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not limit sizes provided as query parameters to graph-rendering URLs, allowing attackers to request crafted URLs that use all available memory in Jenkins, potentially leading to out of memory errors.
GitHub Advisory Database
Jenkins renders several different graphs for features like agent and label usage statistics, memory usage, or various plugin-provided statistics.
Jenkins 2.274 and earlier, LTS 2.263.1 and earlier does not limit the graph size provided as query parameters.
This allows attackers to request or to have legitimate Jenkins users request crafted URLs that rapidly use all available memory in Jenkins, potentially leading to out of memory errors.
Jenkins 2.275, LTS 2.263.2 limits the maximum size of graphs to an area of 10 million pixels. If a larger size is requested, the default size for the graph will be rendered instead.
This threshold can be configured by setting the Java system property hudson.util.Graph.maxArea to a different number on startup.
NVD (es)
Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y anteriores, no limitan tamaños proporcionados como parámetros de consulta hacia unas URL de representación de gráficos, permitiendo a atacantes pedir URL diseñadas que usan toda la memoria disponible en Jenkins, conllevando potencialmente a unos errores de memoria insuficiente.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21607 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cxqw-vjcr-gp5g changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21607 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-JENKINS-2021-21607 changed 2026-09-08 | Apache-2.0 |