CVEvulnerability

CVE-2021-22553

7.5 HIGH Published 2021-02-17 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-02-17
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
CWE-400, CWE-772

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 configurations

• 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)

Related

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-772 Missing Release of Resource after Effective Lifetime weakness

References