CVE-2021-22553
JSON

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
Google

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 packageVersionsReported by
Google LLC Gerritfrom 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.2CVE List
google gerritbefore 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.2NVD

All scores

Google6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-22553 changed 2024-09-16CVE Terms of Use
NVDCVE-2021-22553 changed 2026-06-17Public domain