Heap Memory exhaustion in Gerrit
Priority LOW 33CWE-400Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-400.
Summary
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.
Why it matters now
EPSS 0.00368 30th percentileScored 2026-11-07
Fix Fixed Gerrit (Google LLC): 2.15.22, 2.16.26, 3.0.16 +3
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Gerrit | before 2.15.22; before 2.16.26; before 3.0.16; before 3.1.12; before 3.2.7; before 3.3.2 | 2.15.22, 2.16.26, 3.0.16, 3.1.12, 3.2.7, 3.3.2 | Patch available | CNA |
- Gerrit VendorGoogle Affected before 2.15.22; before 2.16.26; before 3.0.16; before 3.1.12; before 3.2.7; before 3.3.2 Fixed in 2.15.22, 2.16.26, 3.0.16, 3.1.12, 3.2.7, 3.3.2 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:* | before 2.15.22; 2.16.0 to before 2.16.26; 3.0.0 to before 3.0.16; 3.1.0 to before 3.1.12; 3.2.0 to before 3.2.7; 3.3.0 to before 3.3.2 | Vulnerable |
- cpe:2.3:a:google:gerrit:*:*:*:*:*:*:*:* Versions before 2.15.22; 2.16.0 to before 2.16.26; 3.0.0 to before 3.0.16; 3.1.0 to before 3.1.12; 3.2.0 to before 3.2.7; 3.3.0 to before 3.3.2 Vulnerable ·Google
Remediation
- Fix · CNA Gerrit (Google LLC) Fixed in 2.15.22, 2.16.26, 3.0.16, 3.1.12, 3.2.7, 3.3.2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-22553
- 2026-10-03 Alias added: GHSA-f46h-mh94-f4w2
References
More Google Gerrit vulnerabilities
- TI-2026-02333 Improper Authorization in Gerrit allowing Code Review Bypass via "Submitted Together" CVSS 4.0MEDIUM 6.0
- TI-2020-07163 Overoptimization leads to private information leak in Gerrit CVSS 3.1LOW 3.5
- TI-2020-07162 Information leakage in Gerrit CVSS 3.1LOW 3.5
Sources
- CVE-2021-22553 · CVE Program
- CVE-2021-22553 · NVD
- FIRST EPSS
- GHSA-f46h-mh94-f4w2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences