{"id":"CVE-2016-20021","aliases":["EUVD-2024-0149","GHSA-pw5x-x5jw-ccmh","PYSEC-2024-10"],"status":"published","title":"Gentoo Portage missing PGP validation of executed code","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00464,"percentile":0.405,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2024-01-12T00:00:00Z","modified":"2026-10-24T10:30:17Z","fixes":[{"ecosystem":"PyPI","package":"portage","fixed_in":["3.0.47"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"portage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.47"}]}]},{"source":"osv","ecosystem":"PyPI","package":"portage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.47"}]}],"versions":["3.0.18","3.0.19","3.0.20","3.0.21","3.0.22","3.0.23","3.0.24","3.0.25","3.0.26","3.0.27","3.0.28","3.0.29","3.0.30","3.0.31","3.0.32","3.0.33","3.0.34","3.0.35","3.0.36","3.0.37","3.0.38","3.0.38.1","3.0.39","3.0.40","3.0.41","3.0.42","3.0.43","3.0.44","3.0.45","3.0.45.1","3.0.45.2","3.0.45.3","3.0.46"]},{"source":"osv","ecosystem":"PyPI","package":"portage","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.47"}]}],"versions":["3.0.18","3.0.19","3.0.20","3.0.21","3.0.22","3.0.23","3.0.24","3.0.25","3.0.26","3.0.27","3.0.28","3.0.29","3.0.30","3.0.31","3.0.32","3.0.33","3.0.34","3.0.35","3.0.36","3.0.37","3.0.38","3.0.38.1","3.0.39","3.0.40","3.0.41","3.0.42","3.0.43","3.0.44","3.0.45","3.0.45.1","3.0.45.2","3.0.45.3","3.0.46"]}],"products":[{"vendor":"gentoo","product":"portage"}],"references":[{"url":"https://wiki.gentoo.org/wiki/Portage","tags":["x_transferred","Product","web"]},{"url":"https://gitweb.gentoo.org/proj/portage.git/tree/NEWS","tags":["x_transferred","Release Notes","advisory","web"]},{"url":"https://bugs.gentoo.org/597800","tags":["x_transferred","Issue Tracking","Patch","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-20021","tags":["advisory"]},{"url":"https://github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml","tags":["web"]},{"url":"https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pw5x-x5jw-ccmh","tags":["advisory"]},{"url":"https://github.com/gentoo/portage","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2016-20021","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.","status":"published","published":"2024-01-12T00:00:00Z","modified":"2025-06-03T14:07:01.657Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:33:30.359814Z"}],"euvd":[{"id":"EUVD-2024-0149","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.","status":"published","published":"2024-01-12T00:00:00Z","modified":"2025-06-03T14:07:01Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:31.558173Z"}],"ghsa":[{"id":"GHSA-pw5x-x5jw-ccmh","title":"Gentoo Portage missing PGP validation of executed code","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.","status":"published","published":"2024-01-12T03:30:49Z","modified":"2024-08-30T23:37:36Z","cvss":[{"version":"4.0","score":8.1,"vector":"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","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:38:00.257632Z"}],"nvd":[{"id":"CVE-2016-20021","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.","status":"published","published":"2024-01-12T03:15:08.41Z","modified":"2026-06-17T00:43:06.16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:03:40.811555Z"}],"osv":[{"id":"CVE-2016-20021","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.","status":"published","published":"2024-01-12T03:15:08.41Z","modified":"2026-10-24T10:30:17.153327918Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:02.114472Z"},{"id":"GHSA-pw5x-x5jw-ccmh","title":"Gentoo Portage missing PGP validation of executed code","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.","status":"published","published":"2024-01-12T03:30:49Z","modified":"2024-08-30T23:57:56.740609Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"},{"version":"4.0","score":8.1,"vector":"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","level":"high"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T15:46:53.700556Z"},{"id":"PYSEC-2024-10","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.","status":"published","published":"2024-01-12T03:15:00Z","modified":"2026-06-10T17:01:37.021402273Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:53.837392Z"}]}}
