Skip to content

[v14] accountrecovery.go: Unconditionally delete the token after use#36575

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

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

Conversation

@jentfoo
Copy link
Copy Markdown
Contributor

@jentfoo jentfoo commented Jan 11, 2024

Backport #36527 to branch/v14

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/v14 with commit 91b35e0 Jan 11, 2024
@jentfoo jentfoo deleted the bot/backport-36527-branch/v14 branch January 11, 2024 19:18
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