Buffer overflow in Wolfssl
CVE-2022-39173
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. This occurs when an attacker supposedly resumes a previous TLS session. During the resumption Client Hello a Hello Retry Request must be triggered. Both Client Hellos are required to contain a list of duplicate cipher suites to trigger the buffer overflow. In total, two Client Hellos have to be sent: one in the resumed session, and a second one as a response to a Hello Retry Request message.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.058, 93.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, fuzzing-peach/vul-and-poc, tlspuffin/tlspuffin, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.wolfssl.com/docs/security-vulnerabilities/ (Vendor Advisory)
- github.com/wolfSSL/wolfssl/releases (Third Party Advisory, Release Notes)
- 20221030 wolfssl before 5.5.1: CVE-2022-39173 Buffer overflow when refining cipher suites (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/169600/wolfSSL-Buffer-Overflow.html (Exploit, VDB Entry, Third Party Advisory)
- blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/