Buffer Overflow Affecting wolfssl/wolfssl package, versions [,5.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-WOLFSSLWOLFSSL-3035497
  • published29 Sept 2022
  • disclosed29 Sept 2022
  • creditMax at Trail of Bits

Introduced: 29 Sep 2022

CVE-2022-39173  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade wolfssl/wolfssl to version 5.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the TLSX_ConnectionID_Parse() function in dtls.c and the DoTls13ClientHello() function in tls13.c. A server is vulnerable only when --enable-session-ticket is set and TLS 1.3 is in use. Under those conditions, a malicious ClientHello packet triggering a Hello Retry Request can cause a buffer overflow during a TLS 1.3 handshake, crashing the server.

CVSS Scores

version 3.1