In Gentoo Portage before 3.0.47, there is missing PGP validation of executed code: the…
Priority MEDIUM 49CWE-347Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-347.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00464 40th percentileScored 2026-11-07
Fix Fixed portage (PyPI): 3.0.47
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | portage (PyPI) | before 3.0.47 | 3.0.47 | Patch available | GHSA-pw5x-x5jw-ccmh |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- portage (PyPI) Vendor— Affected before 3.0.47 Fixed in 3.0.47 Patch available GHSA-pw5x-x5jw-ccmh
Remediation
- Fix · GHSA-pw5x-x5jw-ccmh portage (PyPI) Fixed in 3.0.47 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2016-20021
- 2026-10-03 Alias added: GHSA-pw5x-x5jw-ccmh
References
Other 6
- https://wiki.gentoo.org/wiki/Portage
- https://gitweb.gentoo.org/proj/portage.git/tree/NEWS
- https://github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2
- https://github.com/gentoo/portage
- https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml
- https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6
More gentoo Portage vulnerabilities
- TI-2013-01869 The urlopen function in pym/portage/util/_urlopen.py in Gentoo Portage 2.1.12, when using… CVSS 2.0HIGH 9.3
- TI-2004-02643 Ebuild in Gentoo may change directory and file permissions depending on the order of… CVSS 3.0HIGH 7.1
- TI-2008-04191 Multiple untrusted search path vulnerabilities in Portage before 2.1.4.5 include the… CVSS 2.0MEDIUM 6.9
- TI-2004-01775 Portage before 2.0.50-r3 allows local users to overwrite arbitrary files via a hard link attack on the lockfiles. CVSS 3.1MEDIUM 5.5
- TI-2019-14618 Gentoo Portage through 2.3.84 allows local users to place a Trojan horse plugin in the… CVSS 3.1MEDIUM 5.5
- TI-2007-05962 etc-update in Portage before 2.1.3.11 on Gentoo Linux relies on the umask to set… CVSS 2.0LOW 2.1
Sources
- CVE-2016-20021 · CVE Program
- CVE-2016-20021 · NVD
- FIRST EPSS
- GHSA-pw5x-x5jw-ccmh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences