Files
mbedtls/ChangeLog.d
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-03-13 11:39:43 +08:00
2023-07-04 15:17:03 +05:30
2023-06-08 16:43:32 +05:30
2023-06-16 15:27:23 +01:00
2023-06-04 20:41:24 -04:00
2023-06-15 14:08:19 +01:00
2023-06-06 12:31:09 +02:00
2023-08-11 17:04:06 +01:00
2023-08-14 15:19:23 +01:00
2023-07-07 15:53:34 +02:00
2023-06-21 12:36:52 +01:00
2023-06-28 11:29:27 +01:00
2023-07-03 17:59:37 +02:00
2023-09-08 10:45:34 +01:00
2023-06-07 17:08:09 +01:00
2023-06-11 16:29:54 +01:00