CVE-2022-39173: Buffer Overflow

Published Sep 29, 2022
·
Updated

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

12 affected componentsFixes available
wolfSSL wolfssl<5.5.1
debian/wolfssl<5.5.3-1
5.5.3-1
debian/wolfssl<5.5.3-1
5.5.3-1
debian/wolfssl
5.5.4-2+deb12u25.5.4-2+deb12u35.7.2-0.1+deb13u25.9.2-1.2
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0
alpine/wolfssl<5.5.1-r0
5.5.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/wolfssl to 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
  2. Upgrade

    Upgrade alpine/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.5.1-r0
  3. Upgrade

    Upgrade debian/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.5.3-1

Event History

Sep 29, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of the buffer overflow in wolfSSL?

The vulnerability ID is CVE-2022-39173.

2

What is the severity of CVE-2022-39173?

The severity of CVE-2022-39173 is high with a severity value of 7.5.

3

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.

4

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.

5

Is there a fix available for CVE-2022-39173?

Yes, updating to wolfSSL version 5.5.1 or later will fix CVE-2022-39173.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203