{"id":"CVE-2021-39168","published":"2021-08-26T23:35:11Z","modified":"2024-08-04T01:58:18Z","title":"TimelockController vulnerability in OpenZeppelin Contracts","vendor":"OpenZeppelin","product":"openzeppelin-contracts-upgradeable","tier":"tail","description":{"text":"OpenZepplin is a library for smart contract development. In affected versions a vulnerability in TimelockController allowed an actor with the executor role to escalate privileges. Further details about the vulnerability will be disclosed at a later date. As a workaround revoke the executor role from accounts not strictly under the team's control. We recommend revoking all executors that are not also proposers. When applying this mitigation, ensure there is at least one proposer and executor remaining.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0159,"percentile":0.76252,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/security/advisories/GHSA-vrw4-w73r-6mm8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/commit/cec4f2ef57495d8b1742d62846da212515d99dd5","tags":["x_refsource_MISC"]},{"url":"https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/CHANGELOG.md#431","tags":["x_refsource_MISC"]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":15.25},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"openzeppelin","affectedVersions":[{"vendor":"OpenZeppelin","product":"openzeppelin-contracts-upgradeable","versions":[">=4.0.0, < 4.3.1",">=3.3.0, < 3.4.2",">= 3.3.0-solc-0.7, < 3.4.2-solc-0.7"]}],"affected":[{"ecosystem":"npm","package":"@openzeppelin/contracts-upgradeable","vulnerableRanges":[">=4.0.0, <4.3.1",">=3.3.0, <3.4.2"],"patched":["4.3.1","3.4.2"],"from":["GHSA-vrw4-w73r-6mm8"],"provenance":"source"}],"summary":{"text":"The TimelockController component in OpenZeppelin's openzeppelin-contracts-upgradeable library, a smart contract development library, contains a flaw that lets an actor holding the executor role escalate privileges. An attacker who holds the executor role can exploit this to gain privileges beyond what that role grants, with no further authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:50Z"},"euvd":{"id":"EUVD-2021-1903","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-39168","published":"2021-08-26","fixed":"4.3.1","kev":false},{"cve":"CVE-2021-41264","published":"2021-11-12","fixed":"4.3.2","kev":false,"link":{"from":"CVE-2021-39168","to":"CVE-2021-41264","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@openzeppelin/contracts-upgradeable","fromFixed":"4.3.1","toFixed":"4.3.2","daysApart":78}]}},{"cve":"CVE-2022-39384","published":"2022-11-04","fixed":"4.4.1","kev":false},{"cve":"CVE-2022-31170","published":"2022-07-21","fixed":"4.7.1","kev":false}],"package":"npm:@openzeppelin/contracts-upgradeable"}}