Skip to content

[v12] accountrecovery.go: Unconditionally delete the token after use#36573

Merged
jentfoo merged 1 commit intobranch/v12from
bot/backport-36527-branch/v12
Jan 11, 2024
Merged

[v12] accountrecovery.go: Unconditionally delete the token after use#36573
jentfoo merged 1 commit intobranch/v12from
bot/backport-36527-branch/v12

Conversation

@jentfoo
Copy link
Copy Markdown
Contributor

@jentfoo jentfoo commented Jan 11, 2024

Backport #36527 to branch/v12

A previous conditional was allowing a replay attack on the recovery process.  Although discovery of this token is a high bar for an attacker, we should be able to unconditionally delete this token after it's used.
@jentfoo jentfoo added the no-changelog Indicates that a PR does not require a changelog entry label Jan 11, 2024
@jentfoo jentfoo self-assigned this Jan 11, 2024
@jentfoo jentfoo added this pull request to the merge queue Jan 11, 2024
Merged via the queue into branch/v12 with commit fb8e6e1 Jan 11, 2024
@jentfoo jentfoo deleted the bot/backport-36527-branch/v12 branch January 11, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants