mirror of
https://github.com/openbsd/src.git
synced 2026-06-17 23:03:29 +02:00
06bb1433e09f0fe5c3ef556ad83091fc42d7b348
The RFC 3211 PWRI integrity check when unwrapping the password-derived key accesses seven bytes from a heap-allocated buffer. If an (invalid) block cipher with short blocks is in use 2 * blocksize may not be sufficient room for 7 bytes. In that silly case, the function performs an OOB read. Add length check to avoid this situation From Igor Ustinov via OpenSSL.
…
…
Description
Languages
C
55.5%
C++
31%
Perl
3.8%
Roff
2.9%
Makefile
0.9%
Other
5.4%