CVE-2020-8920Google Gerrit
Low 3.5
Follow: this CVE · Google · Google Gerrit We alert you by email or Slack (account required).
- Priority
- 21
- CVSS 3.1
- 3.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 33
- Auth required
- Yes
- Published
- Dec 10, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-285
- Vector
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Gerrit.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
— |
Per OSV / GitHub Advisories (GHSA-g5q2-cxgq-h2rw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gerrit | ≥ 2.14.0 < 2.14.22 | |
| gerrit | ≥ 2.15.0 < 2.15.21 | |
| gerrit | ≥ 2.16.0 < 2.16.25 | |
| gerrit | ≥ 3.0.0 < 3.0.15 | |
| gerrit | ≥ 3.1.0 < 3.1.10 | |
| gerrit | ≥ 3.2.0 < 3.2.5 |
Official sources
References
Links published by the sources. Open them with care.
- gerrit.googlesource.com Issue Tracking Patch Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory
- www.gerritcodereview.com Release Notes Vendor Advisory