{"answers":{"affected":"12 open source packages ship an affected version, including com.google.gerrit:gerrit-plugin-api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-8920 in the wild and no public exploit code.","fix":"Upgrade com.google.gerrit:gerrit-plugin-api to a fixed version for your release line: 2.14.22, 2.15.21, 2.16.25 or 3.0.15.","what":"CVE-2020-8920 is a low-severity missing authorization vulnerability in Gerrit, published on 10 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-8920 and fix it if it is affected.\n\nWhat it is: CVE-2020-8920 is a low-severity missing authorization vulnerability in Gerrit, published on 10 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-8920 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.google.gerrit:gerrit-plugin-api (Maven): affected all versions; fixed in 2.14.22\n- com.google.gerrit:gerrit-plugin-api (Maven): affected all versions; fixed in 2.14.22\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 2.15.0; fixed in 2.15.21\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 2.15.0; fixed in 2.15.21\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 2.16.0; fixed in 2.16.25\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 2.16.0; fixed in 2.16.25\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.0.0; fixed in 3.0.15\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.0.0; fixed in 3.0.15\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.1.0; fixed in 3.1.10\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.1.0; fixed in 3.1.10\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.2.0; fixed in 3.2.5\n- com.google.gerrit:gerrit-plugin-api (Maven): affected from 3.2.0; fixed in 3.2.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-8920/ (Markdown: https://insights.sbomify.com/CVE-2020-8920/index.md)","id":"CVE-2020-8920","markdown":"https://insights.sbomify.com/CVE-2020-8920/index.md","name":"CVE-2020-8920","record":{"aliases":["GHSA-g5q2-cxgq-h2rw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Gerrit code review","requires_auth":"low_privilege","summary":"An overoptimization bug in Gerrit skips access checks, allowing attackers to read private user account information.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"gerrit","vendor":"google"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Overoptimization leads to private information leak in Gerrit","id":"CVE-2020-8920","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2020"},"n_packages":12,"n_references":7,"next":{"headline":"XSS in Dart","id":"CVE-2020-8923"},"packages":[{"ecosystem":"Maven","fixed":["2.14.22"],"introduced":["0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["2.14.22"],"introduced":["0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["2.15.21"],"introduced":["2.15.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["2.15.21"],"introduced":["2.15.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["2.16.25"],"introduced":["2.16.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["2.16.25"],"introduced":["2.16.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.1.10"],"introduced":["3.1.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.1.10"],"introduced":["3.1.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.2.5"],"introduced":["3.2.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":null,"source":"GHSA-g5q2-cxgq-h2rw"},{"ecosystem":"Maven","fixed":["3.2.5"],"introduced":["3.2.0"],"last_affected":[],"package":"com.google.gerrit:gerrit-plugin-api","purl":"pkg:maven/com.google.gerrit/gerrit-plugin-api","source":"GHSA-g5q2-cxgq-h2rw"}],"prev":{"headline":"Information leakage in Gerrit","id":"CVE-2020-8919"},"products":["Gerrit"],"published":"2020-12-10","related":[{"cvss_score":6.5,"headline":"Heap Memory exhaustion in Gerrit","id":"CVE-2021-22553","kev_date_added":null,"published":"2021-02-17"},{"cvss_score":6,"headline":"Improper Authorization in Gerrit allowing Code Review Bypass via \"Submitted Together\"","id":"CVE-2026-2725","kev_date_added":null,"published":"2026-05-13"},{"cvss_score":3.5,"headline":"Information leakage in Gerrit","id":"CVE-2020-8919","kev_date_added":null,"published":"2020-12-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Gerrit"]},"summary":"An overoptimization bug in Gerrit skips access checks, allowing attackers to read private user account information.","url":"https://insights.sbomify.com/CVE-2020-8920/"}