CVE-2016-20021Gentoo Portage
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Jan 12, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
In Gentoo Portage before 3.0.47, there is missing PGP validation of executed code: the standalone emerge-webrsync downloads a .gpgsig file but does not perform signature verification. Unless emerge-webrsync is used, Portage is not vulnerable.
What to do
- Apply the vendor's security update for Portage.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | portage |
< 3.0.47 |
3.0.47 |
pip install "portage>=3.0.47" |
| PyPI | portage |
< 3.0.47 |
3.0.47 |
pip install "portage>=3.0.47" |
Per OSV / GitHub Advisories (GHSA-pw5x-x5jw-ccmh, PYSEC-2024-10). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gentoo | portage | < 3.0.47 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.gentoo.org Issue Tracking Patch
- gitweb.gentoo.org Release Notes
- wiki.gentoo.org Product