CVE-2022-4304
openssl: timing attack in RSA Decryption implementation
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-203
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | openssl-src | <111.25.0>=300.0.0, <300.0.12 | 111.25.0300.0.12 |
| Conan (C/C++) | openssl | >=1.0.2 <1.0.2zg||>=1.1.1 <1.1.1t||>=3.0.0 <3.0.8 | 1.1.1w3.0.12 |
| Julia | Openresty_jll | <1.27.1+0 | 1.27.1+0 |
| Julia | OpenSSL_jll | <1.1.20+0 | 1.1.20+0 |
Open a package to see all its vulnerabilities.
Operating systems · 94 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | hvloader | 0:1.0.1-4.azl3 |
| 3.0 | edk2 | 0:20240223gitedc6681206c1-1.azl3 |
Oracle Linux 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | aavmf +1 | 1:1.6.6-1.el7 |
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
| 8 | edk2-aarch64 +2 | 1:20230821-1.el8 |
| 8 | openssl +5 | 2:1.1.1k-9.ksplice1.el8_7 |
| 9 | openssl +3 | 1:3.0.1-47.0.1.el9_1 |
| 9 | edk2-aarch64 +1 | 20221207gitfff6d81270b5-9.el9_2 |
2 more rows
Photon OS 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 18.16.0-1.ph4 |
| 4.0 | openssl +4 | 3.0.7-4.ph4 |
Red Hat 3 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +6 | eol | — |
| 7 | jws5-tomcat-native | 0:1.2.31-14.redhat_14.el7jws | RHSA-2023:3420 |
| 7 | jbcs-httpd24-apr-util +8 | 0:1.6.1-101.el7jbcs | RHSA-2023:3354 |
| 7 | jbcs-httpd24-httpd +6 | 0:2.4.51-39.el7jbcs | RHSA-2023:3354 |
| 7 | jbcs-httpd24-curl +2 | 0:8.0.1-1.el7jbcs | RHSA-2023:3354 |
| 7 | jbcs-httpd24-openssl +4 | 1:1.1.1k-14.el7jbcs | RHSA-2023:3354 |
17 more rows
SUSE Linux Enterprise 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl0-9-8 | 0.9.8j-106.42.1 | SUSE-SU-2023:0581-1 |
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.64.1 | SUSE-SU-2023:0306-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.75.1 | SUSE-SU-2023:0309-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.65.1 | SUSE-SU-2023:0305-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.1-150400.4.17.1 | SUSE-SU-2023:0312-1 |
2 more rows
SUSE Linux Enterprise Micro 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.42.1 | SUSE-SU-2023:2648-1 |
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
| 8 | edk2-aarch64 +1 | 20220126gitbb1bba3d77-4.el8 |
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
| 9 | edk2-aarch64 +3 | 20221207gitfff6d81270b5-9.el9_2 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.0.8-r0 |
| 3.23 | openssl | 3.0.8-r0 |
| 3.24 | openssl | 3.0.8-r0 |
| edge | openssl | 3.0.8-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.5-1.amzn2023.0.6 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl-provider-fips | 3.0.8-r0 | |
| openssl | 3.1.0-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1n-0+deb10u4 |
| 11 | openssl | 1.1.1n-0+deb11u4 |
| 12 | openssl | 3.0.8-1 |
| 13 | openssl | 3.0.8-1 |
| 14 | openssl | 3.0.8-1 |
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.8-1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-0-0-devel +11 | 1.0.2u-12.1 | openSUSE-SU-2024:12687-1 |
| Tumbleweed | libopenssl-1-1-devel +7 | 1.1.1t-1.1 | openSUSE-SU-2024:12688-1 |
| Tumbleweed | libopenssl-3-devel +7 | 3.0.8-1.1 | openSUSE-SU-2024:12716-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.57.1 | SUSE-SU-2023:0310-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.22.1 | SUSE-SU-2023:0311-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-9.el8_7 |
| 9 | openssl +3 | 1:3.0.1-47.el9_1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.0.8-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1n-0+deb11u4 |
| 12 | rootio-openssl | 3.0.8-1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp2 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 7 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | openssl | 1.1.1-1ubuntu2.1~18.04.21 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.21 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.17 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.17 |
| 22.04 | nodejs | 12.22.9~dfsg-1ubuntu3.3 |
| 22.04 | edk2 | 2022.02-3ubuntu0.22.04.4 |
3 more rows
wolfi 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby-3-1 | not affected | |
| openssl | 3.1.0-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:2165
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-4304
- bugzilla.redhat.com https://bugzilla.redhat.com/1960321
- bugzilla.redhat.com https://bugzilla.redhat.com/2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/2164487
- bugzilla.redhat.com https://bugzilla.redhat.com/2164492
- bugzilla.redhat.com https://bugzilla.redhat.com/2164494
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164440
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164487
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164492
Show all 41 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2164494
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-203374.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-264814.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-337522.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-561322.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-625862.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-699386.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-879734.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4304
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-4450
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0215
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0286
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2023-2165.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:1405
- github.com https://github.com/advisories/GHSA-p52g-cm5j-mjv4
- linux.oracle.com https://linux.oracle.com/cve/CVE-2022-4304.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2023-32791.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-4304
- psirt.global.sonicwall.com https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2023-0007.html
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- ubuntu.com https://ubuntu.com/security/notices/USN-5844-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6564-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2022-4304
- www.openssl.org https://www.openssl.org/news/secadv/20230207.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.