Description
openssl_encrypt versions before 1.4.0 contain a vulnerability in PublicKeyBundle.from_dict() that creates key bundles from untrusted data without verifying signatures. Attackers can call from_dict() followed by to_identity() without signature verification to encrypt data using attacker-controlled public keys, leaking secrets.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jahlives | openssl_encrypt | < 1.4.0 | 1.4.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | openssl-encrypt | < 1.4.0 | 1.4.0 | GHSA-8h88-gxp3-j7pg |
References
- GitHub Security Advisory (GHSA-8h88-gxp3-j7pg) vendor-advisory
- VulnCheck Advisory: openssl_encrypt before 1.4.0 Unverified Key Bundle Encryption third-party-advisory