CVE-2022-4304
Vulnerability Summary
Timeline
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.1•MEDIUM•Score: 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: 16.20%• Percentile: 97%
Techniques & Countermeasures
- CWE-203•Observable Discrepancy
The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.
Affected Systems
- alpine•openssl
≥ 1.0.2, < 1.1.1t-r0 | ≥ 1.0.2, < 1.1.1t-r0 | ≥ 1.0.2, < 1.1.1t-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0 | ≥ 1.0.2, < 3.0.8-r0
- alpine•openssl3
< 3.0.8-r0 | < 3.0.8-r0
- chainguard•openssl
< 3.1.0-r0
- chainguard•openssl-provider-fips
< 3.0.8-r0
- chainguard•ruby-3.1
< 0
- wolfi•openssl
< 3.1.0-r0
- wolfi•ruby-3.1
< 0
- Crates.Io•openssl-src
< 111.25.0 | ≥ 300.0.0, < 300.0.12
- debian•openssl
< 1.1.1n-0+deb11u4 | < 3.0.8-1 | < 3.0.8-1 | < 3.0.8-1
- ubuntu•edk2
all | all | < 2022.02-3ubuntu0.22.04.4
- ubuntu•nodejs
< 12.22.9~dfsg-1ubuntu3.3
- ubuntu•openssl
all | < 1.1.1-1ubuntu2.1~18.04.21 | < 1.1.1-1ubuntu2.fips.2.1~18.04.21 | < 1.1.1f-1ubuntu2.17 | < 1.1.1f-1ubuntu2.fips.17 | < 3.0.2-0ubuntu1.8
- ubuntu•openssl1.0
all
- openssl•openssl
≥ 1.0.2, < 1.0.2zg | ≥ 1.1.1, < 1.1.1t | ≥ 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 | ≥ 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 (14)
- https://www.openssl.org/news/secadv/20230207.txt
- https://security.gentoo.org/glsa/202402-08
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
- https://nvd.nist.gov/vuln/detail/CVE-2022-4304
- https://rustsec.org/advisories/RUSTSEC-2023-0007.html
- https://crates.io/crates/openssl-src
- https://security-tracker.debian.org/tracker/CVE-2022-4304
- https://ubuntu.com/security/CVE-2022-4304
- https://ubuntu.com/security/notices/USN-5844-1
- https://ubuntu.com/security/notices/USN-6564-1
- https://www.cve.org/CVERecord?id=CVE-2022-4304
- https://ubuntu.com/security/notices/USN-7894-1
- https://security.alpinelinux.org/vuln/CVE-2022-4304
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4304.json