LiveActive security incident?Get immediate response
CVE Record

CVE-2021-22553: Heap Memory exhaustion in Gerrit

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.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Gerrit can run out of heap memory because Git operations create Jetty sessions that are not expired. The main business risk is availability: code review and Git workflows may be disrupted. The provided sources do not indicate data theft, code modification, or active exploitation.

Executive priority

Treat this as a moderate availability risk for engineering infrastructure. Prioritize remediation for internet-facing or heavily used Gerrit servers because outages can block code review and deployment workflows.

Technical view

CVE-2021-22553 is a CWE-400 resource-consumption flaw in Gerrit. Git operations pass through Jetty, creating sessions without expiry; repeated operations can accumulate sessions until heap memory is exhausted. CVSS 3.1 is 6.5, with high availability impact and no stated confidentiality or integrity impact.

Likely exposure

Organizations running Gerrit servers are potentially exposed, especially where Git operations are reachable by users or external networks. The source bundle lists affected versions as unspecified, so teams must verify their exact Gerrit version against vendor guidance.

Exploitation context

The CVE is not listed as KEV, and the provided sources do not report active exploitation. The described impact is denial of service through memory exhaustion after multiple Git actions, not remote code execution or data compromise.

Researcher notes

The available data does not name fixed versions or affected version ranges beyond Gerrit. Validation should focus on version confirmation, Jetty session behavior, heap trends, and whether Git operations are exposed to untrusted users.

Mitigation direction

  • Upgrade Gerrit to a vendor-recommended fixed release.
  • Check the Gerrit issue and vendor guidance for exact fixed versions.
  • Reduce unnecessary network exposure to Gerrit Git operations.
  • Monitor heap memory until the upgrade is complete.

Validation and detection

  • Inventory all Gerrit instances and record exact versions.
  • Compare deployed versions with vendor fixed-version guidance.
  • Review monitoring for heap growth during Git activity.
  • Check server logs for repeated memory pressure or restarts.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-400: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-22553 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H2.83.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2021-22553Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Google LLCGerritunspecified, unspecified, unspecified, unspecified, unspecified, unspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-400 · source CWE mapping

Uncontrolled Resource Consumption

Uncontrolled Resource Consumption represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.