Skip to content
OpenAdvisories
Low · 3.5 CVE-2020-8920 EUVD-2022-3896GHSA-g5q2-cxgq-h2rw

Overoptimization leads to private information leak in Gerrit

Published Dec 10, 2020 · Updated Aug 4, 2024 · Assigned by Google

Description

An information leak vulnerability exists in Gerrit versions prior to 2.14.22, 2.15.21, 2.16.25, 3.0.15, 3.1.10, 3.2.5 where an overoptimization with the FilteredRepository wrapper skips the verification of access on All-Users repositories, allowing an attacker to get read access to all users' personal information associated with their accounts.

Affected products

VendorProductAffectedFixed
Gerrit Gerrit stable – < 2.14.22 2.14.22

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.google.gerrit:gerrit-plugin-api < 2.14.22 2.14.22 GHSA-g5q2-cxgq-h2rw
Maven com.google.gerrit:gerrit-plugin-api >= 2.15.0, < 2.15.21 2.15.21 GHSA-g5q2-cxgq-h2rw
Maven com.google.gerrit:gerrit-plugin-api >= 2.16.0, < 2.16.25 2.16.25 GHSA-g5q2-cxgq-h2rw
Maven com.google.gerrit:gerrit-plugin-api >= 3.0.0, < 3.0.15 3.0.15 GHSA-g5q2-cxgq-h2rw
Maven com.google.gerrit:gerrit-plugin-api >= 3.1.0, < 3.1.10 3.1.10 GHSA-g5q2-cxgq-h2rw
Maven com.google.gerrit:gerrit-plugin-api >= 3.2.0, < 3.2.5 3.2.5 GHSA-g5q2-cxgq-h2rw

References