CVE-2016-20021
Gentoo Portage missing PGP validation of executed code
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | portage | 3.0.47 |
References
- https://bugs.gentoo.org/597800
- https://github.com/gentoo/portage
- https://github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2
- https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml
- https://gitweb.gentoo.org/proj/portage.git/tree/NEWS
- https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6
- https://nvd.nist.gov/vuln/detail/CVE-2016-20021
- https://wiki.gentoo.org/wiki/Portage