Pauli
f3a7e6c057
evp: process key length and iv length early if present
...
evp_cipher_init_internal() takes a params array argument and this is processed
late in the initialisation process for some ciphers (AEAD ones).
This means that changing the IV length as a parameter will either truncate the
IV (very bad if SP 800-38d section 8.2.1 is used) or grab extra uninitialised
bytes.
Truncation is very bad if SP 800-38d section 8.2.1 is being used to
contruct a deterministic IV. This leads to an instant loss of confidentiality.
Grabbing extra bytes isn't so serious, it will most likely result in a bad
decryption.
Problem reported by Tony Battersby of Cybernetics.com but earlier discovered
and raised as issue #19822 .
Fixes CVE-2023-5363
Fixes #19822
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
2023-10-24 14:32:24 +01:00
..
2023-10-02 14:00:23 +02:00
2022-05-24 14:11:20 +10:00
2023-10-19 10:15:56 +02:00
2022-10-05 14:02:03 +02:00
2023-01-31 11:10:22 +11:00
2023-10-05 19:09:06 +02:00
2023-10-05 12:05:16 +02:00
2022-10-05 14:02:03 +02:00
2022-05-24 13:16:06 +10:00
2023-09-07 09:59:15 +01:00
2023-09-11 08:49:09 +10:00
2023-09-07 09:59:15 +01:00
2023-10-10 20:36:06 +02:00
2023-10-19 10:15:56 +02:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00
2022-10-05 14:02:03 +02:00
2023-09-07 09:59:15 +01:00
2023-10-11 16:22:27 +02:00
2023-10-11 16:22:27 +02:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-10-04 11:02:00 +11:00
2023-10-23 10:08:12 +01:00
2022-10-05 14:02:03 +02:00
2023-10-24 14:32:24 +01:00
2023-10-11 16:22:27 +02:00
2021-06-23 23:00:36 +02:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-01-31 11:10:22 +11:00
2023-10-04 07:52:41 +11:00
2023-01-31 11:10:22 +11:00
2023-01-31 11:10:22 +11:00
2023-09-07 09:59:15 +01:00
2023-01-31 11:10:22 +11:00
2023-10-10 15:37:41 +02:00
2023-10-18 16:52:45 +02:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-10-05 08:09:13 +11:00
2023-10-24 11:14:11 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-31 11:10:22 +11:00
2023-10-18 18:08:02 +02:00
2023-01-31 11:10:22 +11:00
2023-09-28 14:23:29 +01:00
2022-10-12 16:55:01 +11:00
2023-09-07 09:59:15 +01:00
2023-10-10 15:37:41 +02:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-10-19 10:15:56 +02:00
2022-05-03 13:34:51 +01:00
2023-10-10 15:37:41 +02:00
2023-07-21 10:19:19 +10:00
2023-09-07 09:59:15 +01:00
2023-09-22 20:42:48 +02:00
2023-09-07 09:59:15 +01:00
2022-10-05 14:02:03 +02:00
2022-07-20 07:28:17 +01:00
2023-09-07 09:59:15 +01:00
2022-01-12 20:10:21 +11:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-06-27 10:58:40 +02:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2023-09-21 14:43:08 +02:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2022-10-12 18:02:12 +11:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-10-13 15:04:42 +02:00
2022-05-03 13:34:51 +01:00
2022-10-12 16:55:01 +11:00
2022-05-03 13:34:51 +01:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-10-18 18:07:13 +02:00
2023-09-07 09:59:15 +01:00
2022-10-05 14:02:03 +02:00
2022-10-05 14:02:03 +02:00
2023-06-02 15:13:20 +10:00
2023-09-07 09:59:15 +01:00
2022-10-05 14:02:03 +02:00
2022-05-03 13:34:51 +01:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-10-20 09:48:34 +01:00
2021-06-24 14:48:15 +01:00
2021-06-24 14:48:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-01-13 13:20:16 +00:00
2022-09-05 10:20:30 +10:00
2022-05-19 16:32:49 +10:00
2022-05-19 16:32:49 +10:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2023-09-07 09:59:15 +01:00
2021-07-15 09:33:04 +02:00
2022-07-22 14:42:13 +02:00
2022-11-14 07:47:53 +00:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2023-09-11 10:15:30 +02:00
2023-09-07 09:59:15 +01:00