CVE-2016-20021 Gentoo Portage missing PGP validation of executed code
Attackers can execute arbitrary code via emerge-webrsync because it fails to verify PGP signatures on downloaded files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-20021?
CVE-2016-20021 is a critical vulnerability in n/a, published on 12 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-347
Which versions are affected by CVE-2016-20021?
3 open source packages ship an affected version, including portage. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
portage PyPI | All versions | 3.0.47 |
portage PyPI | All versions | 3.0.47 |
portage PyPI | All versions | 3.0.47 |
Products include Gentoo Portage.
How do I fix CVE-2016-20021?
Upgrade portage to 3.0.47 or later.
Is CVE-2016-20021 being exploited?
There is no known exploitation of CVE-2016-20021 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pw5x-x5jw-ccmh, PYSEC-2024-10.