What’s Vulnerable › Vulnerabilities

CVE-2021-22553: Heap Memory exhaustion in Gerrit

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 products

How to fix

Upgrade to a fixed version: Gerrit 2.15.22, 2.16.26, 3.0.16, 3.1.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-22553 or the next vulnerability affects your stack