GHSA-g5q2-cxgq-h2rw
Information leak in Gerrit
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.google.gerrit:gerrit-plugin-api | < 2.14.22 | 2.14.22 |
| Maven | com.google.gerrit:gerrit-plugin-api | >= 2.15.0, < 2.15.21 | 2.15.21 |
| Maven | com.google.gerrit:gerrit-plugin-api | >= 2.16.0, < 2.16.25 | 2.16.25 |
| Maven | com.google.gerrit:gerrit-plugin-api | >= 3.0.0, < 3.0.15 | 3.0.15 |
| Maven | com.google.gerrit:gerrit-plugin-api | >= 3.1.0, < 3.1.10 | 3.1.10 |
| Maven | com.google.gerrit:gerrit-plugin-api | >= 3.2.0, < 3.2.5 | 3.2.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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