Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cocoon]: sequential calls of encryption API result in nonce reuse (<=0.3.3) #1805

Merged
merged 6 commits into from
Oct 24, 2023
Merged

Conversation

fadeevab
Copy link
Contributor

No description provided.

@tarcieri
Copy link
Member

This is typically described as a nonce reuse vulnerability (see CWE-323).

Perhaps the title should be "sequential calls of encryption API result in nonce reuse" or "nonce reuse resulting in duplicate ciphertexts"

@fadeevab fadeevab changed the title [cocoon]: sequential calls of encryption API produce the same ciphertext (<=0.3.3) [cocoon]: sequential calls of encryption API result in nonce reuse (<=0.3.3) Oct 17, 2023
It is typically described as a nonce reuse vulnerability (see CWE-323).
@fadeevab
Copy link
Contributor Author

Fixed, check it out 👆

@fadeevab
Copy link
Contributor Author

fadeevab commented Oct 21, 2023

Is it good now?
I'm gonna double-check examples, don't merge.

Seems good now.

@tarcieri tarcieri merged commit 0da5ced into rustsec:main Oct 24, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants