CVE-2022-39173: Buffer Overflow
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/wolfsslto a version that resolves this vulnerability.Fixed in 5.5.4-2+deb12u2Fixed in 5.5.4-2+deb12u3Fixed in 5.7.2-0.1+deb13u2Fixed in 5.9.2-1.2 - Upgrade
Upgrade
alpine/wolfsslto a version that resolves this vulnerability.Fixed in 5.5.1-r0 - Upgrade
Upgrade
debian/wolfsslto a version that resolves this vulnerability.Fixed in 5.5.3-1
Event History
Frequently Asked Questions
What is the vulnerability ID of the buffer overflow in wolfSSL?
The vulnerability ID is CVE-2022-39173.
What is the severity of CVE-2022-39173?
The severity of CVE-2022-39173 is high with a severity value of 7.5.
How can malicious clients exploit CVE-2022-39173?
Malicious clients can exploit CVE-2022-39173 by causing a buffer overflow during a TLS 1.3 handshake.
Which version of wolfSSL is affected by CVE-2022-39173?
wolfSSL versions up to but excluding 5.5.1 are affected by CVE-2022-39173.
Is there a fix available for CVE-2022-39173?
Yes, updating to wolfSSL version 5.5.1 or later will fix CVE-2022-39173.