]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix validation of EAPOL-Key length with AES key wrap (CID 62859)
authorJouni Malinen <j@w1.fi>
Fri, 13 Jun 2014 21:20:04 +0000 (00:20 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 13 Jun 2014 21:20:04 +0000 (00:20 +0300)
commitb7c61c9d4e968e7254112631a9f6a1a1f8ef6f7f
tree3fd244e81bf36d221c4787982307058ae9dcc58a
parent6590b6400f73762fc6a53ad6ca05a73246cc5e54
Fix validation of EAPOL-Key length with AES key wrap (CID 62859)

The additional eight octet field was removed from keydatalen without
proper validation of the Key Data Length field. It would have been
possible for an invalid EAPOL-Key frame to be processed in a way that
ends up reading beyond the buffer. In theory, this could have also
resulted in writing beyond the EAPOL-Key frame buffer, but that is
unlikely to be feasible due to the AES key wrap validation step on
arbitrary memory contents.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/rsn_supp/wpa.c