Skip to content

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. An attacker sends a crafted hello client packet over the network....

CriticalCVSS 9.8 EPSS 9.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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. An attacker sends a crafted hello client packet over the network to a TLSv1.3 wolfSSL server. The length fields of the packet: record length, client hello length, total extensions length, PSK extension length, total identity length, and identity length contain their maximum value which is 2^16. The identity data field of the PSK extension of the packet contains the attack data, to be stored in the undefined memory (RAM) of the server. The size of the data is about 65 kB. Possibly the attacker can perform a remote code execution attack.

Upgrade path

5 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/wolfssl(Ubuntu 16.04) = 3.4.8+dfsg-1; All versions No fix listed No fix yet
ubuntu/wolfssl(Ubuntu 18.04) = 3.10.2+dfsg-2; = 3.12.0+dfsg-1; = 3.12.2+dfsg-1; = 3.13.0+dfsg-1 +1 more No fix listed No fix yet
debian/wolfssl(Debian 12) < 4.1.0+dfsg-1 4.1.0+dfsg-1 Fixed
debian/wolfssl(Debian 13) < 4.1.0+dfsg-1 4.1.0+dfsg-1 Fixed
wolfSSL = 4.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/wolfssl(Debian:12) < 4.1.0+dfsg-1 4.1.0+dfsg-1
debian/wolfssl(Debian:13) < 4.1.0+dfsg-1 4.1.0+dfsg-1
wolfSSL = 4.0 No fix listed
ubuntu/wolfssl(Ubuntu:16.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:16.04) = 3.4.8+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) All versions No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.10.2+dfsg-2 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.12.0+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.12.2+dfsg-1 No fix listed
ubuntu/wolfssl(Ubuntu:18.04) = 3.13.0+dfsg-1 No fix listed

References