CVE-2022-38153
Last modified
CVE-2022-38153 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 1.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | 5.3.0 |
References
- http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/8Exploit, Mailing List, Third Party Advisory
- https://github.com/trailofbits/tlspuffinNot Applicable
- https://github.com/wolfSSL/wolfssl/pull/5476Exploit, Patch, Third Party Advisory
- https://github.com/wolfSSL/wolfssl/releasesRelease Notes
- https://www.wolfssl.com/docs/security-vulnerabilities/Vendor Advisory
- http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/8Exploit, Mailing List, Third Party Advisory
- https://github.com/trailofbits/tlspuffinNot Applicable
- https://github.com/wolfSSL/wolfssl/pull/5476Exploit, Patch, Third Party Advisory
- https://github.com/wolfSSL/wolfssl/releasesRelease Notes
- https://www.wolfssl.com/docs/security-vulnerabilities/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-38153?
How severe is CVE-2022-38153?
How do I fix CVE-2022-38153?
Are you affected by CVE-2022-38153?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
