Skip to content

CVE-2021-22553 Heap Memory exhaustion in Gerrit

HighCVSS 7.5 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Google gerrit < 2.15.22; < 2.16.26; < 3.0.16; < 3.1.12 +7 more 2.15.22, 2.16.26, 3.0.16, 3.1.12, 3.2.7, 3.3.2 Fixed

Affected products

ProductAffected versionsFixed in
Google gerrit < 2.15.22 2.15.22
Google gerrit >= 2.16.0, < 2.16.26 2.16.26
Google gerrit >= 3.0.0, < 3.0.16 3.0.16
Google gerrit >= 3.1.0, < 3.1.12 3.1.12
Google gerrit >= 3.2.0, < 3.2.7 3.2.7
Google gerrit >= 3.3.0, < 3.3.2 3.3.2
Google gerrit < 2.16.26 2.16.26
Google gerrit < 3.0.16 3.0.16
Google gerrit < 3.1.12 3.1.12
Google gerrit < 3.2.7 3.2.7
Google gerrit < 3.3.2 3.3.2

References