CVE-2016-20021
CRITICAL 9.8CVSS 3.1Gentoo Portage missing PGP validation of executed code
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.
- Published
- 12 Jan 2024
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-pw5x-x5jw-ccmhPYSEC-2024-10
- Sources
- NVDJSONOSV GHSA-pw5x-x5jw-ccmhJSONOSV PYSEC-2024-10JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gentoo | portagecpe:2.3:a:gentoo:portage:*:*:*:*:*:*:*:* |
< 3.0.47 | 3.0.47 |
| OSV | PyPI | portage | < 3.0.47 | 3.0.47 |
References
- https://bugs.gentoo.org/597800 · Issue Tracking, Patch, WEB, REPORT, FIX
- https://gitweb.gentoo.org/proj/portage.git/tree/NEWS · Release Notes, WEB
- https://wiki.gentoo.org/wiki/Portage · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2016-20021 · ADVISORY
- https://github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2 · WEB
- https://github.com/gentoo/portage · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml · WEB
- https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6 · WEB
- https://github.com/advisories/GHSA-pw5x-x5jw-ccmh · ADVISORY
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 12 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 12 Jan 2024)