69663 sc low users cannot revoke previously granted migration permit after migrator role is revoked
Description
Brief/Intro
Vulnerability Details
Current Implementation
function setMigrationPermit(address _migrator, bool _isMigrationPermitted) external {
if (!hasRole(MIGRATOR_ROLE, _migrator)) revert MigratorNotFound(_migrator);
migrationPermits[_migrator][msg.sender] = _isMigrationPermitted;
emit MigrationPermitUpdated(_migrator, msg.sender, _isMigrationPermitted);
}Root Cause
Consent-Revocation Deadlock Scenario
Impact and Likelihood Details
Impact: Low
Likelihood: Low
Link to Proof of Concept
Proof of Concept
Previous69936 sc low users cannot revoke migration permits once the migrator s role has been revokedNext69382 sc low irrevocable migration permit users cannot revoke permit after migrator role revocation
Was this helpful?