{"schemaVersion":3,"id":"CVE-2016-20021","aliases":["GHSA-pw5x-x5jw-ccmh","PYSEC-2024-10"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-01-12T00:00:00.000Z","modified":"2025-06-03T14:07:01.657Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.00468,"percentile":0.39129,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00468},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00468,"percentile":0.39129}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00468,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00468,"percentile":0.39129}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"gentoo","product":"portage","name":"portage","label":"portage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.0.47","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.47","eol":null,"hubHref":"/vendor/gentoo/portage"},{"vendor":"PyPI","product":"portage","name":"portage","label":"portage","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/portage","purlType":"pypi","versions":[{"text":"< 3.0.47","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.47","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wiki.gentoo.org/wiki/Portage","label":"wiki.gentoo.org/wiki/Portage","hostname":"wiki.gentoo.org","tags":["Product","WEB"]},{"url":"https://gitweb.gentoo.org/proj/portage.git/tree/NEWS","label":"gitweb.gentoo.org/proj/portage.git/tree/NEWS","hostname":"gitweb.gentoo.org","tags":["Release Notes","WEB"]},{"url":"https://bugs.gentoo.org/597800","label":"bugs.gentoo.org/597800","hostname":"bugs.gentoo.org","tags":["Issue Tracking","Patch","WEB","REPORT","FIX"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-20021","label":"nvd.nist.gov/vuln/detail/CVE-2016-20021","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2","label":"github.com/gentoo/portage/commit/28cd240fb23d880b8641a058831c6762db71c3e2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/gentoo/portage","label":"github.com/gentoo/portage","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2024-10.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6","label":"gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3c80502e96406b4b175e2ee79eb65f3f3cd9f6","hostname":"gitweb.gentoo.org","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-pw5x-x5jw-ccmh","label":"github.com/advisories/GHSA-pw5x-x5jw-ccmh","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-01-12T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-06-03T14:07:01.657Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:48:15.034Z","stale":false,"partial":false}}