Read the docs
TI-2016-09197 Aliases CVE-2016-20021GHSA-pw5x-x5jw-ccmh

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—portage (PyPI)before 3.0.473.0.47Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:*before 3.0.47Vulnerablegentoo
  • cpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:* Versions before 3.0.47 Vulnerable ·gentoo

Remediation

  • Fix · GHSA-pw5x-x5jw-ccmh portage (PyPI) Fixed in 3.0.47 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2016-20021
  2. 2026-10-03 Alias added: GHSA-pw5x-x5jw-ccmh

References

  • 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