CVE-2016-20021 json
Gentoo Portage missing PGP validation of executed code
published 2024-01-12 2 y ago modified 2026-06-17 4 mo ago also GHSA-pw5x-x5jw-ccmh , PYSEC-2024-10 , EUVD-2024-0149
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi portage 3.0.47
- gentoo portage 3.0.47
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | portage | <3.0.47 |
3.0.47 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
bugs.gentoo.org
/597800
web, issue-tracking, patch, report
-
github.com
/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2
web
-
gitweb.gentoo.org
/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6
web
-
wiki.gentoo.org
/wiki/Portage
web, product
-
gitweb.gentoo.org
/proj/portage.git/tree/NEWS
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2016-20021
advisory
-
github.com
/gentoo/portage
package
-
github.com
/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml
web
-
github.com
/advisories/GHSA-pw5x-x5jw-ccmh
advisory
Sources
- CVE List CVE-2016-20021
- GitHub Advisory GHSA-pw5x-x5jw-ccmh
- NVD CVE-2016-20021
- OSV PYSEC-2024-10
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.