5.9
MEDIUM
CVE-2022-38153
WolfSSL TLS Session Cache Pointer Free Vulnerability
Description

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.

INFO

Published Date :

Aug. 31, 2022, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 7:15 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2022-38153 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2022-38153 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Wolfssl wolfssl
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Shell Dockerfile C

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : March 20, 2024, 9:52 a.m. This repo has been linked 6 different CVEs too.

Publications from Trail of Bits

conference-presentations academic-papers security-reviews

HTML Python Solidity JavaScript Dockerfile Makefile PHP C

Updated: 2 weeks, 4 days ago
1492 stars 180 fork 180 watcher
Born at : April 29, 2015, 7:30 p.m. This repo has been linked 22 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-38153 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-38153 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.html
    Added Reference http://seclists.org/fulldisclosure/2023/Jan/8
    Added Reference https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/
    Added Reference https://github.com/trailofbits/tlspuffin
    Added Reference https://github.com/wolfSSL/wolfssl/pull/5476
    Added Reference https://github.com/wolfSSL/wolfssl/releases
    Added Reference https://www.wolfssl.com/docs/security-vulnerabilities/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 01, 2023

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.html No Types Assigned http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.html Exploit, Third Party Advisory
    Changed Reference Type http://seclists.org/fulldisclosure/2023/Jan/8 No Types Assigned http://seclists.org/fulldisclosure/2023/Jan/8 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/ No Types Assigned https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/ Third Party Advisory
    Changed Reference Type https://github.com/wolfSSL/wolfssl/releases Release Notes, Third Party Advisory https://github.com/wolfSSL/wolfssl/releases Release Notes
  • CVE Modified by [email protected]

    Feb. 15, 2023

    Action Type Old Value New Value
    Added Reference https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 20, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 20, 2023

    Action Type Old Value New Value
    Added Reference http://seclists.org/fulldisclosure/2023/Jan/8 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 08, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/trailofbits/tlspuffin No Types Assigned https://github.com/trailofbits/tlspuffin Not Applicable
    Changed Reference Type https://github.com/wolfSSL/wolfssl/pull/5476 No Types Assigned https://github.com/wolfSSL/wolfssl/pull/5476 Exploit, Patch, Third Party Advisory
    Changed Reference Type https://github.com/wolfSSL/wolfssl/releases No Types Assigned https://github.com/wolfSSL/wolfssl/releases Release Notes, Third Party Advisory
    Changed Reference Type https://www.wolfssl.com/docs/security-vulnerabilities/ No Types Assigned https://www.wolfssl.com/docs/security-vulnerabilities/ Vendor Advisory
    Added CWE NIST CWE-770
    Added CPE Configuration OR *cpe:2.3:a:wolfssl:wolfssl:5.3.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-38153 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.33 }} -0.01%

score

0.70678

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability