GitHub Advisory Database
GHSA-g5q2-cxgq-h2rw
Information leak in Gerrit
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.google.gerrit:gerrit-plugin-api | All versions before 2.14.22 (fixed in 2.14.22) |
| Maven | com.google.gerrit:gerrit-plugin-api | From 2.15.0 before 2.15.21 (fixed in 2.15.21) |
| Maven | com.google.gerrit:gerrit-plugin-api | From 2.16.0 before 2.16.25 (fixed in 2.16.25) |
| Maven | com.google.gerrit:gerrit-plugin-api | From 3.0.0 before 3.0.15 (fixed in 3.0.15) |
| Maven | com.google.gerrit:gerrit-plugin-api | From 3.1.0 before 3.1.10 (fixed in 3.1.10) |
| Maven | com.google.gerrit:gerrit-plugin-api | From 3.2.0 before 3.2.5 (fixed in 3.2.5) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-8920
- https://gerrit.googlesource.com/gerrit/+/45071d6977932bca5a1427c8abad24710fed2e33
- https://issues.gerritcodereview.com/issues/40012986
- https://www.gerritcodereview.com/2.14.html#21422
- https://www.gerritcodereview.com/2.15.html#21521
- https://www.gerritcodereview.com/2.16.html#21625
- https://www.gerritcodereview.com/3.0.html#3015
- https://www.gerritcodereview.com/3.1.html#3110
- https://www.gerritcodereview.com/3.2.html#325