CVE-2019-11873

wolfSSL 4.0.0 has a Buffer Overflow in DoPreSharedKeys in tls13.c when a current identity size is greater than a client identity size

published May 23, 2019

CVSS
—
EPSS
9%
Percentile
95.4
In the wild
Unconfirmed
What it is

⚡ A crafty hello client packet can exploit wolfSSL in some mind-bogglingly simple ways! Think of this as an overly ambitious pizza delivery: if the delivery person tries to carry far too many pizzas (65 kB of data), they might just drop them all over the floor. In this case, the server’s memory is that floor, and it can lead to unexpected chaos! An attacker can send a specially crafted packet to the server, potentially allowing them to perform remote code execution. This could lead to a complete takeover of the server, leaving sensitive data exposed and the system vulnerable to further attacks!

Put simply

Think of this as an overly ambitious pizza delivery: if the delivery person tries to carry far too many pizzas (65 kB of data), they might just drop them all over the floor. In this case, the server’s memory is that floor, and it can lead to unexpected chaos! This buffer overflow vulnerability occurs when the server accepts client identity sizes larger than it can handle, causing it to spill into unallocated memory. When the attacker manipulates the packet lengths to their maximum values, they can exploit the server’s response to execute arbitrary code.

What to do

An attacker can send a specially crafted packet to the server, potentially allowing them to perform remote code execution. This could lead to a complete takeover of the server, leaving sensitive data exposed and the system vulnerable to further attacks! To mitigate this vulnerability, upgrade wolfSSL to version 4.0.1 or later immediately. Additionally, implement strict validation on packet sizes and ensure that buffer limits are enforced to prevent overflow attacks. Regular security audits can help catch such issues early! You’ve got this! Following these steps will put you on the path to fortress-like security! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.09249 · 95.4th percentile
Published
2019-05-23T12:54Z
EPSS history
Timeline
  • 23 MAY 12:54Z
    wolfSSL 4.0.0 has a Buffer Overflow in DoPreSharedKeys in tls13.c when a current identity size is greater than a client identity size
    cvelistv5