Fork and VM clone safety
Stay organized with collections
Save and categorize content based on your preferences.
- Affected Versions
- All Tink versions
- Affected Key Types
- Streaming AEAD, AES-GCM-HKDF
Description
In general, Tink does not aim to provide security if the program does calls to
the UNIX fork() system call, or if the program is cloned on a virtual machine
and then executed multiple times from the same state.
The only concrete problem is known for Streaming AEAD, key type AES-GCM-HKDF. In
this case, such an attack can lead to Tink encrypting different plaintext with
AES GCM using the same nonce, which is known to leak the authentication key.
[null,null,["Last updated 2024-11-14 UTC."],[],["Tink versions are vulnerable to security issues when the UNIX `fork()` system call is used or a program is cloned on a virtual machine and executed multiple times. The specific vulnerability identified is with Streaming AEAD, AES-GCM-HKDF keys. In these scenarios, different plaintexts can be encrypted with AES GCM using the same nonce, which leaks the authentication key. This issue affects all Tink versions.\n"]]