CVE-2021-22553

Heap Memory exhaustion in Gerrit

HIGH
7.5
CVSS Score
Published: February 17, 2021 at 12:05 PM UTC
Updated: June 17, 2026 at 03:37 AM UTC
1 product affected across 1 vendorGerrit

Using Gerrit by Google LLC?

Get instant alerts when new vulnerabilities affect Gerrit - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.15.22v < 2.16.26v < 3.0.16v < 3.1.12v < 3.2.7v < 3.3.22.16.0 ≤ v < 2.16.263.0.0 ≤ v < 3.0.163.1.0 ≤ v < 3.1.123.2.0 ≤ v < 3.2.73.3.0 ≤ v < 3.3.2
Affected range stops below 2.15.22, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.16.26, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.1.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.2.7, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.3.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

x_refsource_MISCIssue TrackingThird Party Advisory
https://bugs.chromium.org/p/gerrit/issues/detail?id=13858

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-772

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card