Files
mbedtls/library
Gilles Peskine faf0b8604a mbedtls_ssl_decrypt_buf(): fix buffer overread with stream cipher
With stream ciphers, add a check that there's enough room to read a MAC in
the record. Without this check, subtracting the MAC length from the data
length resulted in an integer underflow, causing the MAC calculation to try
reading (SIZE_MAX + 1 - maclen) bytes of input, which is a buffer overread.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-09-18 19:07:50 +02:00
..
2023-08-20 20:20:12 +01:00
2023-08-18 17:35:59 +08:00
2023-07-11 14:06:37 +01:00
2023-08-17 14:36:59 +01:00
2023-06-24 13:37:28 +01:00
2023-08-14 15:26:28 +01:00
2023-06-24 13:37:28 +01:00
2023-08-16 12:48:33 +01:00
2023-04-12 06:07:23 +00:00
2023-08-01 22:41:17 +08:00
2023-06-06 10:33:54 +02:00
2023-08-02 10:32:21 +01:00
2023-03-24 10:43:40 +01:00
2023-06-24 13:37:28 +01:00
2023-08-10 13:36:32 +08:00
2023-08-17 11:20:09 +08:00
2023-07-06 12:42:33 +02:00
2023-07-06 12:42:33 +02:00
2023-09-01 11:45:39 +01:00
2023-03-13 12:15:49 +00:00
2023-08-10 06:43:23 +02:00
2023-02-02 12:40:50 +00:00
2023-08-10 12:11:31 +01:00
2023-06-07 19:59:05 +01:00
2023-07-13 10:40:29 +08:00
2023-07-13 10:40:29 +08:00
2023-08-16 12:48:33 +01:00