CVE-2022-4304

Aliases:GHSA-p52g-cm5j-mjv4RUSTSEC-2023-0007
Advisory lineage Upstream: 0 Downstream: 42
Modified
Published: 08 Feb 2023, 19:04
Last modified:04 Nov 2025, 19:14

Vulnerability Summary

Overall Risk (default)
low
24/100
CVSS Score
5.9 MEDIUM
v3.1 (cve.org)
EPSS Score
0.22% LOW
0% probability -0.03%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

08 Feb 2023, 19:04
Published
Vulnerability first disclosed
04 Nov 2025, 19:14
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Trends

Current EPSS score: 0.22% Percentile: 45%

Techniques & Countermeasures

  • CWE-203Observable Discrepancy

    The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.

Affected Systems

  • Crates.Ioopenssl-src

    < 111.25.0 | ≥ 300.0.0, < 300.0.12

  • UnknownOpenSSL

    ≥ 1.0.2, < 1.0.2zg | ≥ 1.1.1, < 1.1.1t | ≥ 3.0.0, < 3.0.8

  • stormshieldendpoint_security

    < 7.2.40

  • stormshieldsslvpn

    < 3.2.1

  • stormshieldstormshield network security

    ≥ 2.7.0, < 2.7.11 | ≥ 2.8.0, < 3.7.34 | ≥ 3.8.0, < 3.11.22 | ≥ 4.0.0, < 4.3.16 | ≥ 4.4.0, < 4.6.3

References (6)