Name | CVE-2022-4304 |
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 | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3325-1, DSA-5343-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openssl (PTS) | jessie, jessie (lts) | 1.0.1t-1+deb8u21 | vulnerable |
stretch (security) | 1.1.0l-1~deb9u6 | vulnerable | |
stretch (lts), stretch | 1.1.0l-1~deb9u9 | fixed | |
buster (security), buster, buster (lts) | 1.1.1n-0+deb10u6 | fixed | |
bullseye | 1.1.1w-0+deb11u1 | fixed | |
bullseye (security) | 1.1.1w-0+deb11u2 | fixed | |
bookworm | 3.0.15-1~deb12u1 | fixed | |
bookworm (security) | 3.0.14-1~deb12u2 | fixed | |
sid, trixie | 3.3.2-2 | fixed | |
openssl1.0 (PTS) | stretch (security) | 1.0.2u-1~deb9u7 | vulnerable |
stretch (lts), stretch | 1.0.2u-1~deb9u9 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
openssl | source | stretch | 1.1.0l-1~deb9u9 | |||
openssl | source | buster | 1.1.1n-0+deb10u4 | DLA-3325-1 | ||
openssl | source | bullseye | 1.1.1n-0+deb11u4 | DSA-5343-1 | ||
openssl | source | (unstable) | 3.0.8-1 | |||
openssl1.0 | source | (unstable) | (unfixed) |
https://www.openssl.org/news/secadv/20230207.txt
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=8e257b86e5812c6e1cfa9e8e5f5660ac7bed899d (openssl-3.0.8) (reverted in 908eaceb62624f5b5c505b286d904bd3a4e8a64a)
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=a00d757d9ca212994625d1a02c81cc5edd27e13b (openssl-3.0.9)
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=43d8f88511991533f53680a751e9326999a6a31f (OpenSSL_1_1_1t) (reverted in 0372649a943fb23f7f08c7acdbc01464b9df03f0)
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=3f499b24f3bcd66db022074f7e8b4f6ee266a3ae (OpenSSL_1_1_1t)
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=8daa2616bbe6f7994e0cdd796d3280118c51d8d8 (OpenSSL_1_1_1t)
[jessie] - openssl <ignored> (Too intrusive to backport)
[stretch] - openssl1.0 <ignored> (Too intrusive to backport)
rsa_ossl.c was called rsa_eay.c in jessie