CVEfocus › CVE database › CVE-2022-38153

CVE-2022-38153

CVSS 5.9 MediumEPSS 1.6% (higher than 76% of CVEs)Published 2022-08-31Updated 2024-08-03Assigner: mitre

An issue was discovered in wolfSSL before 5.5.0 (when --enable-session-ticket is used); however, only version 5.3.0 is exploitable. Man-in-the-middle attackers or a malicious server can crash TLS 1.2 clients during a handshake. If an attacker injects a large ticket (more than 256 bytes) into a NewSessionTicket message in a TLS 1.2 handshake, and the client has a non-empty session cache, the session cache frees a pointer that points to unallocated memory, causing the client to crash with a "free(): invalid pointer" message. NOTE: It is likely that this is also exploitable during TLS 1.3 handshakes between a client and a malicious server. With TLS 1.3, it is not possible to exploit this as a man-in-the-middle.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
1Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10wolfsslFix pendingUBUNTU-CVE-2022-38153
Ubuntu 26.04wolfsslUnder investigationUBUNTU-CVE-2022-38153
Ubuntu 25.10wolfsslWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-38153
Ubuntu 24.04wolfsslUnder investigationUBUNTU-CVE-2022-38153
Ubuntu 22.04wolfsslUnder investigationUBUNTU-CVE-2022-38153
Ubuntu 20.04wolfsslWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-38153
Ubuntu 18.04wolfsslWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-38153
Ubuntu 16.04wolfsslWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-38153
Debian 13wolfsslFixed5.5.3-1DEBIAN-CVE-2022-38153
Debian 12wolfsslFixed5.5.3-1DEBIAN-CVE-2022-38153

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.