title: 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.
problem types: CWE-400 Uncontrolled Resource Consumption
affected:
{
product: Gerrit
vendor: Google LLC
versions:
lessThan: 2.15.22, status: affected, version: unspecified, versionType: custom
lessThan: 2.16.26, status: affected, version: unspecified, versionType: custom
lessThan: 3.0.16, status: affected, version: unspecified, versionType: custom
lessThan: 3.1.12, status: affected, version: unspecified, versionType: custom
lessThan: 3.2.7, status: affected, version: unspecified, versionType: custom
lessThan: 3.3.2, status: affected, version: unspecified, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 6.5
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
version: 3.1
]
solutions: We recommend upgrading Gerrit to any version listed above.