Description
Integer underflow in wolfSSL packet sniffer <= 5.8.4 allows an attacker to cause a buffer overflow in the AEAD decryption path by injecting a TLS record shorter than the explicit IV plus authentication tag into traffic inspected by ssl_DecodePacket. The underflow wraps a 16-bit length to a large value that is passed to AEAD decryption routines, causing heap buffer overflow and a crash. An unauthenticated attacker can trigger this remotely via malformed TLS Application Data records.
Problem types
CWE-191 Integer Underflow (Wrap or Wraparound)
Product status
Any version
Credits
Prasanth Sundararajan
References
github.com/wolfSSL/wolfssl/pull/9571