Live threats
VulnFox

All CVEs / Gentoo

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Portage.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
gentooportage< 3.0.47

Official sources

References

Links published by the sources. Open them with care.