CVE-2022-4304

Source
https://cve.org/CVERecord?id=CVE-2022-4304
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-4304.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-4304
Aliases
Downstream
Related
Published
2023-02-08T19:04:28.890Z
Modified
2026-05-28T04:08:16.630040227Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Timing Oracle in RSA Decryption
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4304.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "3.0.0"
                },
                {
                    "fixed": "3.0.8"
                },
                {
                    "introduced": "1.1.1"
                },
                {
                    "fixed": "1.1.1t"
                },
                {
                    "introduced": "1.0.2"
                },
                {
                    "fixed": "1.0.2zg"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "openssl"
}
References

Affected packages

Git / github.com/openssl/openssl

Affected ranges

Type
GIT
Repo
https://github.com/openssl/openssl
Events
Database specific
{
    "cpe": "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.2"
        },
        {
            "fixed": "1.0.2zg"
        },
        {
            "introduced": "1.1.1"
        },
        {
            "fixed": "1.1.1t"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.0.8"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

openssl-3.*
openssl-3.0.0
openssl-3.0.1
openssl-3.0.2
openssl-3.0.3
openssl-3.0.4
openssl-3.0.5
openssl-3.0.6
openssl-3.0.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-4304.json"