What’s Vulnerable › Vulnerabilities
CVE-2022-4304: Timing Oracle in RSA Decryption
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 23.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-02-08 · updated 2026-10-14
- Weakness: CWE-203
Description
A timing based side channel exists in the OpenSSL RSA Decryption implementation which could be sufficient to recover a plaintext across a network in a Bleichenbacher style attack. To achieve a successful decryption an attacker would have to be able to send a very large number of trial messages for decryption. The vulnerability affects all RSA padding modes: PKCS#1 v1.5, RSA-OEAP and RSASVE. For example, in a TLS connection, RSA is commonly used by a client to send an encrypted pre-master secret to the server. An attacker that had observed a genuine connection between a client and a server could use this flaw to send trial messages to the server and record the time taken to process them. After a sufficiently large number of messages the attacker could recover the pre-master secret used for the original connection and thus be able to decrypt the application data sent over that connection.
Affected products
- OpenSSL: from 1.0.2 before 1.0.2zg; from 1.1.1 before 1.1.1t; from 3.0.0 before 3.0.8 — fixed in 1.0.2zg, 1.1.1t, 3.0.8
- Stormshield Endpoint Security: before 7.2.40 — fixed in 7.2.40
- Stormshield Sslvpn: before 3.2.1 — fixed in 3.2.1
- Stormshield Network Security: from 2.7.0 before 2.7.11; from 2.8.0 before 3.7.34; from 3.8.0 before 3.11.22; from 4.0.0 before 4.3.16; from 4.4.0 before 4.6.3 — fixed in 2.7.11, 3.11.22, 3.7.34, 4.3.16, 4.6.3
How to fix
Upgrade to a fixed version: OpenSSL 1.0.2zg, 1.1.1t, 3.0.8; Stormshield Endpoint Security 7.2.40; Stormshield Sslvpn 3.2.1; Stormshield Network Security 2.7.11, 3.11.22, 3.7.34, 4.3.16. Check the vendor advisory for mitigations.
References
- https://security.gentoo.org/glsa/202402-08
- https://www.openssl.org/news/secadv/20230207.txt
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://security.gentoo.org/glsa/202402-08
- https://www.openssl.org/news/secadv/20230207.txt
- https://cert-portal.siemens.com/productcert/html/ssa-203374.html
- https://cert-portal.siemens.com/productcert/html/ssa-264814.html
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html
Get alerted when CVE-2022-4304 or the next vulnerability affects your stack