Commit e042182
Fix TLS 1.3 PQC key share over heap read (ZD 21413)
Validate that the received key share data length (keLen) is at least
as large as the expected ciphertext size (ctSz) before passing it to
wc_KyberKey_Decapsulate. A malicious TLS 1.3 server could send a
short ML-KEM key share.1 parent 7aac9e5 commit e042182
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9950 | 9950 | | |
9951 | 9951 | | |
9952 | 9952 | | |
| 9953 | + | |
| 9954 | + | |
| 9955 | + | |
| 9956 | + | |
9953 | 9957 | | |
9954 | 9958 | | |
9955 | 9959 | | |
| |||
0 commit comments