Paper 2020/384 Original: eprint.iacr.org/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.

Metadata
Available format(s)
PDF
Category
Public-key cryptography
Publication info
Preprint.
History
2020-04-09: last updated
2020-04-09: published
Short URL
https://ia.cr/2020/384
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@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}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.