CVE-2022-4304 Timing Oracle in RSA Decryption
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io openssl-src(crates.io) | < 111.25.0 | 111.25.0 |
| crates.io openssl-src(crates.io) | >= 300.0.0, < 300.0.12 | 300.0.12 |
| crates.io openssl-src(crates.io) | >= 0.0.0-0, < 111.25.0 | 111.25.0 |
| OpenSSL | >= 3.0.0, < 3.0.8 | 3.0.8 |
| OpenSSL | >= 1.1.1, < 1.1.1t | 1.1.1t |
| OpenSSL | >= 1.0.2, < 1.0.2zg | 1.0.2zg |
| Siemens SCALANCE W1750D (JP) | < V8.10.0.9 | V8.10.0.9 |
| Siemens SCALANCE W1750D (ROW) | < V8.10.0.9 | V8.10.0.9 |
| Siemens SCALANCE W1750D (USA) | < V8.10.0.9 | V8.10.0.9 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1 | V1.1 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/edk2(Ubuntu:22.04) | < 2022.02-3ubuntu0.22.04.4 | 2022.02-3ubuntu0.22.04.4 |
| ubuntu/nodejs(Ubuntu:22.04) | < 12.22.9~dfsg-1ubuntu3.3 | 12.22.9~dfsg-1ubuntu3.3 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.8 | 3.0.2-0ubuntu1.8 |
| Stormshield endpoint security | < 7.2.40 | 7.2.40 |
| Stormshield sslvpn | < 3.2.1 | 3.2.1 |
| Stormshield Network Security | >= 2.7.0, < 2.7.11 | 2.7.11 |
| Stormshield Network Security | >= 2.8.0, < 3.7.34 | 3.7.34 |
| Stormshield Network Security | >= 3.8.0, < 3.11.22 | 3.11.22 |
| Stormshield Network Security | >= 4.0.0, < 4.3.16 | 4.3.16 |
| Stormshield Network Security | >= 4.4.0, < 4.6.3 | 4.6.3 |
| debian/openssl(Debian:12) | < 3.0.8-1 | 3.0.8-1 |
| debian/openssl(Debian:14) | < 3.0.8-1 | 3.0.8-1 |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/openssl(Debian:13) | < 3.0.8-1 | 3.0.8-1 |
| alpine/openssl(Alpine:v3.14) | >= 1.1.1, < 1.1.1t-r0 | 1.1.1t-r0 |
| alpine/openssl(Alpine:v3.15) | >= 1.1.1, < 1.1.1t-r0 | 1.1.1t-r0 |
| alpine/openssl(Alpine:v3.16) | >= 1.1.1, < 1.1.1t-r0 | 1.1.1t-r0 |
| alpine/openssl(Alpine:v3.17) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.18) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.19) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.20) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.21) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.22) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.23) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl(Alpine:v3.24) | >= 3.0.0, < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl1.1-compat(Alpine:v3.17) | < 1.1.1t-r0 | 1.1.1t-r0 |
| alpine/openssl1.1-compat(Alpine:v3.18) | < 1.1.1t-r0 | 1.1.1t-r0 |
| alpine/openssl3(Alpine:v3.15) | < 3.0.8-r0 | 3.0.8-r0 |
| alpine/openssl3(Alpine:v3.16) | < 3.0.8-r0 | 3.0.8-r0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- psirt.global.sonicwall.com
- rustsec.org vendor-advisory
- security.gentoo.org
- OpenSSL Advisory vendor-advisory
- crates.io product
- Debian Security Tracker CVE-2022-4304 vendor-advisory
- github.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
- Ubuntu CVE tracker vendor-advisory
- USN-5844-1 vendor-advisory
- USN-6564-1 vendor-advisory
- USN-7894-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory