Timing Oracle in RSA Decryption
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 16 fixed, 4 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-203.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 to before 3.0.8; 1.1.1 to before 1.1.1t; 1.0.2 to before 1.0.2zg | 3.0.8, 1.1.1t, 1.0.2zg | Patch available | CNA |
| — | openssl-src (crates.io) | before 111.25.0 | 111.25.0 | Patch available | GHSA-p52g-cm5j-mjv4 |
| — | openssl-src (crates.io) | 300.0.0 to before 300.0.12 | 300.0.12 | Patch available | GHSA-p52g-cm5j-mjv4 |
- OpenSSL VendorOpenSSL Affected 3.0.0 to before 3.0.8; 1.1.1 to before 1.1.1t; 1.0.2 to before 1.0.2zg Fixed in 3.0.8, 1.1.1t, 1.0.2zg Patch available CNA
- openssl-src (crates.io) Vendor— Affected before 111.25.0 Fixed in 111.25.0 Patch available GHSA-p52g-cm5j-mjv4
- openssl-src (crates.io) Vendor— Affected 300.0.0 to before 300.0.12 Fixed in 300.0.12 Patch available GHSA-p52g-cm5j-mjv4
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* | 1.0.2 to before 1.0.2zg; 1.1.1 to before 1.1.1t; 3.0.0 to before 3.0.8 | Vulnerable | OpenSSL |
| cpe:2.3:a:stormshield:endpoint_security:*:*:*:*:*:*:*:* | before 7.2.40 | Vulnerable | Stormshield |
| cpe:2.3:a:stormshield:sslvpn:*:*:*:*:*:*:*:* | before 3.2.1 | Vulnerable | Stormshield |
| cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:* | 2.7.0 to before 2.7.11; 2.8.0 to before 3.7.34; 3.8.0 to before 3.11.22; 4.0.0 to before 4.3.16; 4.4.0 to before 4.6.3 | Vulnerable | Stormshield |
- cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* Versions 1.0.2 to before 1.0.2zg; 1.1.1 to before 1.1.1t; 3.0.0 to before 3.0.8 Vulnerable ·OpenSSL
- cpe:2.3:a:stormshield:endpoint_security:*:*:*:*:*:*:*:* Versions before 7.2.40 Vulnerable ·Stormshield
- cpe:2.3:a:stormshield:sslvpn:*:*:*:*:*:*:*:* Versions before 3.2.1 Vulnerable ·Stormshield
- cpe:2.3:a:stormshield:stormshield_network_security:*:*:*:*:*:*:*:* Versions 2.7.0 to before 2.7.11; 2.8.0 to before 3.7.34; 3.8.0 to before 3.11.22; 4.0.0 to before 4.3.16; 4.4.0 to before 4.6.3 Vulnerable ·Stormshield
Remediation
- Fix · CNA OpenSSL (OpenSSL) Fixed in 3.0.8, 1.1.1t, 1.0.2zg
- Fix · GHSA-p52g-cm5j-mjv4 openssl-src (crates.io) Fixed in 111.25.0 Advisory →
- Fix · GHSA-p52g-cm5j-mjv4 openssl-src (crates.io) Fixed in 300.0.12 Advisory →
Red Hat 11 advisories
- RHSA-2023:4128 Released 2023-07-18 · Red Hat rating Importantedk2 security update
- Red Hat Enterprise Linux AppStream EUS (v.8.6) edk2-20220126gitbb1bba3d77-2.el8_6.1, edk2-aarch64-20220126gitbb1bba3d77-2.el8_6.1, edk2-ovmf-20220126gitbb1bba3d77-2.el8_6.1
- RHSA-2023:3420 Released 2023-06-05 · Red Hat rating ImportantRed Hat JBoss Web Server 5.7.3 release and security update
- Red Hat JBoss Web Server 5.7 for RHEL 7 Server jws5-tomcat-native-1.2.31-14.redhat_14.el7jws
- Red Hat JBoss Web Server 5.7 for RHEL 8 jws5-tomcat-native-1.2.31-14.redhat_14.el8jws
- Red Hat JBoss Web Server 5.7 for RHEL 9 jws5-tomcat-native-1.2.31-14.redhat_14.el9jws
- RHSA-2023:3421 Released 2023-06-05 · Red Hat rating ImportantRed Hat JBoss Web Server 5.7.3 release and security update
- Red Hat JBoss Web Server 5
Show 8 more Red Hat advisories
- RHSA-2023:3354 Released 2023-06-05 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.51 SP2 security update
- Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-apr-util-1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-devel-1.6.1-101.el7jbcs, jbcs-httpd24-apr-util-ldap-1.6.1-101.el7jbcs +23
- Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-apr-util-1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-devel-1.6.1-101.el8jbcs, jbcs-httpd24-apr-util-ldap-1.6.1-101.el8jbcs +23
- RHSA-2023:3355 Released 2023-06-05 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.51 SP2 security update
- JBCS httpd 2.4.51.sp2
- RHSA-2023:3408 Released 2023-05-31 · Red Hat rating Moderateopenssl security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) openssl-1:1.1.1k-9.el8_6, openssl-devel-1:1.1.1k-9.el8_6, openssl-libs-1:1.1.1k-9.el8_6 +1
- RHSA-2023:2932 Released 2023-05-16 · Red Hat rating Importantedk2 security update
- Red Hat Enterprise Linux AppStream (v. 8) edk2-20220126gitbb1bba3d77-4.el8, edk2-aarch64-20220126gitbb1bba3d77-4.el8, edk2-ovmf-20220126gitbb1bba3d77-4.el8
- RHSA-2023:2165 Released 2023-05-09 · Red Hat rating Importantedk2 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) edk2-20221207gitfff6d81270b5-9.el9_2, edk2-aarch64-20221207gitfff6d81270b5-9.el9_2, edk2-ovmf-20221207gitfff6d81270b5-9.el9_2
- Red Hat Enterprise Linux CRB (v. 9) edk2-aarch64-20221207gitfff6d81270b5-9.el9_2, edk2-ovmf-20221207gitfff6d81270b5-9.el9_2, edk2-tools-20221207gitfff6d81270b5-9.el9_2 +1
- RHSA-2023:1405 Released 2023-03-22 · Red Hat rating Importantopenssl security update
- Red Hat Enterprise Linux BaseOS (v. 8) openssl-1:1.1.1k-9.el8_7, openssl-devel-1:1.1.1k-9.el8_7, openssl-libs-1:1.1.1k-9.el8_7 +1
- RHSA-2023:1199 Released 2023-03-14 · Red Hat rating Importantopenssl security and bug fix update
- Red Hat Enterprise Linux AppStream EUS (v.9.0) openssl-devel-1:3.0.1-46.el9_0, openssl-perl-1:3.0.1-46.el9_0
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) openssl-1:3.0.1-46.el9_0, openssl-libs-1:3.0.1-46.el9_0
- RHSA-2023:0946 Released 2023-02-28 · Red Hat rating Importantopenssl security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) openssl-devel-1:3.0.1-47.el9_1, openssl-perl-1:3.0.1-47.el9_1
- Red Hat Enterprise Linux BaseOS (v. 9) openssl-1:3.0.1-47.el9_1, openssl-libs-1:3.0.1-47.el9_1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
OpenSSL — openssl.org/news/secadv/20230207.txt
7 records Highest priority Priority HIGH 1 HIGH, 6 MEDIUM
Other records, highest priority first
- TI-2023-00271 X.400 address type confusion in X.509 GeneralNamePriority HIGH 70
- TI-2022-04067 Double free after calling PEM_read_bio_exPriority MEDIUM 62
- TI-2023-00208 Use-after-free following BIO_new_NDEFPriority MEDIUM 47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Web Server 3 | Affected | No fix planned: Out of support scope |
| JBCS httpd 2.4.51.sp2 | Fixed | RHSA-2023:3355 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:2932 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:0946, RHSA-2023:2165 |
| Red Hat Enterprise Linux AppStream EUS (v.8.6) | Fixed | RHSA-2023:4128 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2023:1199 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:1405 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:0946 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2023:3408 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2023:1199 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2023:2165 |
| Red Hat JBoss Core Services on RHEL 7 Server | Fixed | RHSA-2023:3354 |
| Red Hat JBoss Core Services on RHEL 8 | Fixed | RHSA-2023:3354 |
| Red Hat JBoss Web Server 5 | Fixed | RHSA-2023:3421 |
| Red Hat JBoss Web Server 5.7 for RHEL 7 Server | Fixed | RHSA-2023:3420 |
| Red Hat JBoss Web Server 5.7 for RHEL 8 | Fixed | RHSA-2023:3420 |
| Red Hat JBoss Web Server 5.7 for RHEL 9 | Fixed | RHSA-2023:3420 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
- Red Hat JBoss Core Services on RHEL 7 Server
- Red Hat JBoss Core Services on RHEL 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-4304
- 2026-10-03 Alias added: GHSA-p52g-cm5j-mjv4
- 2026-10-09 Fix available: RHSA-2023:3355 · Red Hat
- 2026-10-16 Fix available: JBCS httpd 2.4.51.sp2 · Red Hat
References
More Openssl vulnerabilities
- TI-2022-01915 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2021-02645 SM2 Decryption Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2009-03392 The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft… CVSS 3.1CRITICAL 9.8
- TI-2022-01176 The c_rehash script allows command injection CVSS 3.1CRITICAL 9.8
- TI-2014-00154 The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly… KEVCVSS 3.1HIGH 7.5
- TI-2025-14107 Stack buffer overflow in CMS (Auth)EnvelopedData parsing CVSS 3.1HIGH 8.8
Sources
- CVE-2022-4304 · CVE Program
- CVE-2022-4304 · NVD
- FIRST EPSS
- GHSA-p52g-cm5j-mjv4 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-4304 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences