CVE-2022-4304

Publication date 7 February 2023

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

5.9 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
edk2 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
22.04 LTS jammy
Needs evaluation
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation
14.04 LTS trusty Ignored end of standard support
nodejs 24.10 oracular
Not affected
24.04 LTS noble
Not affected
23.10 mantic
Not affected
23.04 lunar
Not affected
22.10 kinetic
Not affected
22.04 LTS jammy
Fixed 12.22.9~dfsg-1ubuntu3.3
20.04 LTS focal
Not affected
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected
openssl 24.10 oracular
Fixed 3.0.8-1ubuntu1
24.04 LTS noble
Fixed 3.0.8-1ubuntu1
23.10 mantic
Fixed 3.0.8-1ubuntu1
23.04 lunar
Fixed 3.0.8-1ubuntu1
22.10 kinetic
Fixed 3.0.5-2ubuntu2.1
22.04 LTS jammy
Fixed 3.0.2-0ubuntu1.8
20.04 LTS focal
Fixed 1.1.1f-1ubuntu2.17
18.04 LTS bionic
Fixed 1.1.1-1ubuntu2.1~18.04.21
16.04 LTS xenial Ignored
14.04 LTS trusty Ignored
openssl1.0 22.10 kinetic Not in release
22.04 LTS jammy Not in release
20.04 LTS focal Not in release
18.04 LTS bionic Ignored
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Notes


mdeslaur

Due to the substantial code changes required to fix this side channel issue and others like it in the 1.0.2 and earlier codebases, we will not be fixing this issue in bionic and earlier to not introduce possible regressions. The commit was later reverted, and a more simplified fix was used, see: https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=0372649a943fb23f7f08c7acdbc01464b9df03f0 https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=3f499b24f3bcd66db022074f7e8b4f6ee266a3ae

Severity score breakdown

Parameter Value
Base score 5.9 · Medium
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References

Related Ubuntu Security Notices (USN)

    • USN-5844-1
    • OpenSSL vulnerabilities
    • 7 February 2023
    • USN-6564-1
    • Node.js vulnerabilities
    • 3 January 2024

Other references