CVE-2022-4304

MEDIUM CVSS 3.1: 5.9 EPSS 23.5%
Updated Oct 14, 2026
OpenSSL
Parameter Value
CVSS 5.9 (MEDIUM)
Affected Versions 1.0.2 — 7.2.40
Fixed In 1.0.2zg
Type CWE-203
Vendor OpenSSL
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 10

Configuration From (including) Up to (excluding)
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
1.0.2 1.0.2zg
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
1.1.1 1.1.1t
Openssl Openssl
cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
3.0.0 3.0.8
Stormshield Endpoint_Security
cpe:2.3:a:stormshield:endpoint_security:*:*:*:*:*:*:*:*
— 7.2.40
Stormshield Sslvpn
cpe:2.3:a:stormshield:sslvpn:*:*:*:*:*:*:*:*
— 3.2.1
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
2.7.0 2.7.11
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
2.8.0 3.7.34
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
3.8.0 3.11.22
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
4.0.0 4.3.16
Stormshield Stormshield_Network_Security
cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:*
4.4.0 4.6.3