6.5medium
Heap Memory exhaustion in Gerrit
- Severity
- 6.5medium CVSS:3.1 by Google
- Exploit likelihood
- 0.37% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
Description
Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Google LLC Gerrit | from unspecified before 2.15.22, from unspecified before 2.16.26, from unspecified before 3.0.16, from unspecified before 3.1.12, from unspecified before 3.2.7, from unspecified before 3.3.2 | CVE List |
| google gerrit | before 2.15.22, from 2.16.0 before 2.16.26, from 3.0.0 before 3.0.16, from 3.1.0 before 3.1.12, from 3.2.0 before 3.2.7, from 3.3.0 before 3.3.2 | NVD |
All scores
| 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
Any git operation is passed through Jetty and a session is created. No expiry is set for the session and Jetty does not automatically dispose of the session. Over multiple git actions, this can lead to a heap memory exhaustion for Gerrit servers. We recommend upgrading Gerrit to any of the versions listed above.
NVD (es)
Cualquier operación git es pasada a través de Jetty y es creada una sesión. No es ajustada ninguna fecha de expiración para la sesión y Jetty no elimina automáticamente la sesión. Durante múltiples acciones git, esto puede conllevar a un agotamiento de la memoria de la pila para los servidores de Gerrit. Recomendamos actualizar Gerrit a cualquiera de las versiones mencionadas anteriormente
References
| https://bugs.chromium.org/p/gerrit/issues/detail?id=13858 | issue-tracking, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22553 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2021-22553 changed 2026-06-17 | Public domain |