Information leak in Gerrit
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.google.gerrit:gerrit-plugin-api | < 2.14.22, >= 2.15.0, < 2.15.21, >= 2.16.0, < 2.16.25, >= 3.0.0, < 3.0.15, >= 3.1.0, < 3.1.10, >= 3.2.0, < 3.2.5 | 2.14.22, 2.15.21, 2.16.25, 3.0.15, 3.1.10, 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
- Weakness (CWE)
CWE-863- Platform
- Java / Kotlin (Maven)
- Package
com.google.gerrit:gerrit-plugin-api- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g5q2-cxgq-h2rw - CC BY 4.0
Vulnerability history: com.google.gerrit:gerrit-plugin-api
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.