CVE-2021-22553: Heap Memory exhaustion in Gerrit

Published Feb 17, 2021
·
Updated

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 Software

6 affected components
Google Gerrit<2.15.22
Google Gerrit>=2.16.0<2.16.26
Google Gerrit>=3.0.0<3.0.16
Google Gerrit>=3.1.0<3.1.12
Google Gerrit>=3.2.0<3.2.7
Google Gerrit>=3.3.0<3.3.2

Remediation

Information

We recommend upgrading Gerrit to any version listed above.

Event History

Feb 17, 2021
CVE Published
via MITRE·12:05 PM
Data Sourced
via MITRE·12:05 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-22553?

CVE-2021-22553 has a medium severity rating due to its potential for heap memory exhaustion on Gerrit servers.

2

How do I fix CVE-2021-22553?

To fix CVE-2021-22553, upgrade Gerrit to versions higher than 2.15.22 or the specified ranges for subsequent versions.

3

What does CVE-2021-22553 affect?

CVE-2021-22553 affects multiple versions of Gerrit, specifically versions prior to 2.15.22 and some versions within specified ranges up to 3.3.2.

4

What conditions lead to the vulnerability described in CVE-2021-22553?

The vulnerability occurs when multiple git operations are executed through Jetty without a session expiry, leading to memory exhaustion.

5

Is there a workaround for CVE-2021-22553 if I cannot upgrade Gerrit?

A temporary workaround for CVE-2021-22553 includes limiting the number of concurrent git operations to prevent session buildup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203