CVE-2022-4304

MEDIUMCVSS 5.9/10EPSS 16.20%

Last modified

CVE-2022-4304 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 16.20% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.9/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Probability
16.20%

96.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpensslOpenssl>= 1.0.2, < 1.0.2zg
OpensslOpenssl>= 1.1.1, < 1.1.1t
OpensslOpenssl>= 3.0.0, < 3.0.8
StormshieldEndpoint Security< 7.2.40
StormshieldSslvpn< 3.2.1
StormshieldStormshield Network Security>= 2.7.0, < 2.7.11
StormshieldStormshield Network Security>= 2.8.0, < 3.7.34
StormshieldStormshield Network Security>= 3.8.0, < 3.11.22
StormshieldStormshield Network Security>= 4.0.0, < 4.3.16
StormshieldStormshield Network Security>= 4.4.0, < 4.6.3

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-4304?
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.
How severe is CVE-2022-4304?
CVE-2022-4304 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 16.20% probability of exploitation in the next 30 days.
How do I fix CVE-2022-4304?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-4304?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST