Skip to content

[v13] accountrecovery.go: Unconditionally delete the token after use#36574

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

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

Conversation

@jentfoo
Copy link
Copy Markdown
Contributor

@jentfoo jentfoo commented Jan 11, 2024

Backport #36527 to branch/v13

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/v13 with commit 9d61959 Jan 11, 2024
@jentfoo jentfoo deleted the bot/backport-36527-branch/v13 branch January 11, 2024 19:14
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