Vulnerability · Published Sep 29, 2022 · Assigned by mitre

CVE-2022-39173

High 7.5

In plain English

A high-severity out-of-bounds write in the wolfssl package (Alpine). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 5.8% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)5.8%top 6.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20wolfssl5.5.1-r0ALPINE-CVE-2022-39173
Alpine:v3.21wolfssl5.5.1-r0ALPINE-CVE-2022-39173
Alpine:v3.22wolfssl5.5.1-r0ALPINE-CVE-2022-39173
Alpine:v3.23wolfssl5.5.1-r0ALPINE-CVE-2022-39173
Alpine:v3.24wolfssl5.5.1-r0ALPINE-CVE-2022-39173
Debian:12wolfssl5.5.3-1DEBIAN-CVE-2022-39173
Debian:13wolfssl5.5.3-1DEBIAN-CVE-2022-39173
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-39173
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-39173
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2022-39173
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-39173
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2022-39173

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References