LiveActive security incident?Get immediate response
CVE Record

CVE-2016-20021: In Gentoo Portage before 3.0.47, there is missing PGP validation of executed code: the standalone emerge-we...

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.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This issue affects Gentoo Portage only when the standalone emerge-webrsync tool is used. That tool downloaded a signature file but did not verify it, creating a serious trust failure in the software update path. A compromised or tampered sync source could put systems at risk if they rely on this workflow.

Executive priority

Treat as urgent for Gentoo environments that use emerge-webrsync, because update-path trust failures can lead to broad compromise. For environments not using that tool, priority should shift to confirmation and documentation rather than emergency action.

Technical view

CVE-2016-20021 is a CWE-347 signature-verification flaw in Gentoo Portage before 3.0.47. The standalone emerge-webrsync path downloads a .gpgsig file but does not perform PGP signature verification. The CVE states Portage is not vulnerable unless emerge-webrsync is used.

Likely exposure

Exposure is likely limited to Gentoo systems using standalone emerge-webrsync, especially automated package tree sync workflows. Systems that do not use emerge-webrsync are explicitly described as not vulnerable in the CVE source.

Exploitation context

The source bundle does not show known active exploitation, and the CVE is not marked as KEV. The risk is high because the vulnerable workflow sits in a trusted update path and has network-adjacent supply-chain implications.

Researcher notes

The CVE record gives a narrow condition: Portage before 3.0.47 is affected only through standalone emerge-webrsync. The affected product metadata is listed as n/a, so validation should rely on Gentoo system inventory, Portage version, and actual sync workflow evidence.

Mitigation direction

  • Upgrade Gentoo Portage to 3.0.47 or later where emerge-webrsync is used.
  • Stop using standalone emerge-webrsync until vendor guidance is confirmed and applied.
  • Review Gentoo Portage NEWS and bug 597800 for authoritative remediation details.
  • Prefer package sync methods with verified integrity checks.

Validation and detection

  • Inventory Gentoo systems and identify installed Portage versions.
  • Confirm whether standalone emerge-webrsync is used manually or in automation.
  • Review cron jobs, deployment scripts, and maintenance runbooks for emerge-webrsync usage.
  • Check Gentoo Portage NEWS and bug 597800 for fix confirmation.
  • Document systems that are not exposed because emerge-webrsync is absent.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-347: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2016-20021 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2016-20021Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-347 · source CWE mapping

Improper Verification of Cryptographic Signature

Improper Verification of Cryptographic Signature represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.