Affected versions
PyPIopenssl-encrypt
- Affected versions
- <1.4.9
- Fixed version
- 1.4.9
Exploitation
Description
openssl_encrypt versions before 1.4.9 fail to escape attacker-controlled key_id values printed to stderr during decrypt auto-detection. Attackers can craft encrypted files with malicious key_id containing escape sequences to repaint terminal output and forge authenticity verification blocks.

