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 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | wolfssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | wolfssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | wolfssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | wolfssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | wolfssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | wolfssl | Fix pending | UBUNTU-CVE-2019-11873 | |
| Ubuntu 16.04 | wolfssl | Fix pending | UBUNTU-CVE-2019-11873 | |
| Debian 13 | wolfssl | Fixed | 4.1.0+dfsg-1 | DEBIAN-CVE-2019-11873 |
| Debian 12 | wolfssl | Fixed | 4.1.0+dfsg-1 | DEBIAN-CVE-2019-11873 |
References
- https://www.telekom.com/en/corporate-responsibility/data-protection-data-security/security/details/advisories-504842
- https://www.telekom.com/resource/blob/572524/1c89c1cbaccdf792153063b3a10af10e/dl-190515-remote-buffer-overflow-vulnerability-wolfssl-library-data.pdf
- http://www.securityfocus.com/bid/108466
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.