CVE-2022-4304Openssl
Medium 5.9 No auth needed
Follow: this CVE · Openssl · Openssl We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Feb 8, 2023
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-203
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Openssl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | openssl-src |
< 111.25.0 |
111.25.0 |
cargo update -p openssl-src --precise 111.25.0 |
| crates.io | openssl-src |
≥ 300.0.0 < 300.0.12 |
300.0.12 |
cargo update -p openssl-src --precise 300.0.12 |
| crates.io | openssl-src |
≥ 0.0.0-0 < 111.25.0 |
111.25.0 |
cargo update -p openssl-src --precise 111.25.0 |
| crates.io | openssl-src |
≥ 300.0.0 < 300.0.12 |
300.0.12 |
cargo update -p openssl-src --precise 300.0.12 |
Per OSV / GitHub Advisories (GHSA-p52g-cm5j-mjv4, RUSTSEC-2023-0007). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openssl | openssl | ≥ 1.0.2 < 1.0.2zg |
| openssl | openssl | ≥ 1.1.1 < 1.1.1t |
| openssl | openssl | ≥ 3.0.0 < 3.0.8 |
| stormshield | endpoint_security | < 7.2.40 |
| stormshield | sslvpn | < 3.2.1 |
| stormshield | stormshield_network_security | ≥ 2.7.0 < 2.7.11 |
| stormshield | stormshield_network_security | ≥ 2.8.0 < 3.7.34 |
| stormshield | stormshield_network_security | ≥ 3.8.0 < 3.11.22 |
| stormshield | stormshield_network_security | ≥ 4.0.0 < 4.3.16 |
| stormshield | stormshield_network_security | ≥ 4.4.0 < 4.6.3 |
Official sources
References
Links published by the sources. Open them with care.
- security.gentoo.org
- www.openssl.org Vendor Advisory
- psirt.global.sonicwall.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com