CVE-2022-38153
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.
Weakness
- CWE-770: Allocation of Resources Without Limits or Throttling
Timeline
- 2022-08-31Published by the CNA00:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| wolfssl wolfssl | 5.3.0no fix listed | not listed |
References
- https://github.com/wolfSSL/wolfssl/pull/5476
- https://www.wolfssl.com/docs/security-vulnerabilities/
- http://packetstormsecurity.com/files/170605/wolfSSL-5.3.0-Denial-Of-Service.html
- http://seclists.org/fulldisclosure/2023/Jan/8
- https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/
- https://github.com/trailofbits/tlspuffin
- https://github.com/wolfSSL/wolfssl/releases
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-38153'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-38153'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-38153'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-38153'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).