CVE-2022-4304
Timing Oracle in RSA Decryption
- Published
- Updated
- Reserved
- Assigned by
- openssl
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 23.5% · top 2.2% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
- timing based side channel attack
- CWE-203 Observable Discrepancy (opens in a new tab)All about CWE-203 and its CVEs
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- crates.ioopenssl-srcGHSA-p52g-cm5j-mjv4 (opens in a new tab)
References (15)
- OpenSSL Advisory (opens in a new tab)vendor-advisoryx_transferred
- https://security.gentoo.org/glsa/202402-08 (opens in a new tab)x_transferred
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-203374.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-561322.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-264814.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-699386.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-879734.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-625862.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-337522.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p52g-cm5j-mjv4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-4304)Record last updated .