CVE-2022-4304

Timing Oracle in RSA Decryption

State
Published
Severity
5.9 Medium
Published
Feb 8, 2023
Updated
Oct 14, 2026
Reserved
Dec 6, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

Affected Products

ProductVersions
OpenSSLOpenSSL
  • 3.0.0 to before 3.0.8Affected
  • 1.1.1 to before 1.1.1tAffected
  • 1.0.2 to before 1.0.2zgAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.