# CVE-2021-22553: Heap Memory exhaustion in Gerrit

- Severity: Medium 6.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2021-02-17T12:05:17.410Z
- Modified: 2026-06-17T03:37:25.380Z
- Weaknesses: CWE-400, CWE-772
- 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.

(As written by CVE List.)

## Affected

- Google LLC Gerrit: from 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.2
- google gerrit: before 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.2

## Every score

- Google: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugs.chromium.org/p/gerrit/issues/detail?id=13858> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2021-22553](https://www.cve.org/CVERecord?id=CVE-2021-22553), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-22553](https://nvd.nist.gov/vuln/detail/CVE-2021-22553), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-22553 · Whole record: https://cve.day/CVE-2021-22553.json · Rebuilt by cve.day 2026-11-25T22:57:59.972Z
