Paper 2020/384

A ”Final” Security Bug

Nguyen Thoi Minh Quan
Abstract

This article discusses a fixed critical security bug in Google Tink's Ed25519 Java implementation. The bug allows remote attackers to extract the private key with only two Ed25519 signatures. The vulnerability comes from the misunderstanding of what "final" in Java programming language means. The bug was discovered during security review before Google Tink was officially released. It reinforces the challenge in writing safe cryptographic code and the importance of the security review process even for the code written by professional cryptographers.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2020/384,
      author = {Nguyen Thoi Minh Quan},
      title = {A ”Final” Security Bug},
      howpublished = {Cryptology {ePrint} Archive, Paper 2020/384},
      year = {2020},
      url = {https://eprint.iacr.org/2020/384}
}
Category
Public-key cryptography
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy