Affected versions
PyPIopenssl-encrypt
- Affected versions
- <1.4.0
- Fixed version
- 1.4.0
Exploitation
Description
openssl_encrypt versions before 1.4.0 contain an authentication bypass vulnerability in CamelliaCipher that disables HMAC tag generation and verification when the PYTEST_CURRENT_TEST environment variable is set. Attackers with code execution can set this environment variable to produce unauthenticated ciphertext and bypass integrity protection on encrypted data.

