CVE-2022-38152
Summary
| CVE | CVE-2022-38152 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-31 17:15:00 UTC |
| Updated | 2023-03-01 15:50:00 UTC |
| Description | An issue was discovered in wolfSSL before 5.5.0. When a TLS 1.3 client connects to a wolfSSL server and SSL_clear is called on its session, the server crashes with a segmentation fault. This occurs in the second session, which is created through TLS session resumption and reuses the initial struct WOLFSSL. If the server reuses the previous session structure (struct WOLFSSL) by calling wolfSSL_clear(WOLFSSL* ssl) on it, the next received Client Hello (that resumes the previous session) crashes the server. Note that this bug is only triggered when resuming sessions using TLS session resumption. Only servers that use wolfSSL_clear instead of the recommended SSL_free; SSL_new sequence are affected. Furthermore, wolfSSL_clear is part of wolfSSL's compatibility layer and is not enabled by default. It is not part of wolfSSL's native API. |
Risk And Classification
Problem Types: CWE-754
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| wolfSSL Security Vulnerabilities | Documentation – wolfSSL | CONFIRM | www.wolfssl.com | |
| Keeping the wolves out of wolfSSL | Trail of Bits Blog | MISC | blog.trailofbits.com | |
| Fixes to better handle re-use of a WOLFSSL object via wolfSSL_clear by SparkiDev · Pull Request #5468 · wolfSSL/wolfssl · GitHub | MISC | github.com | |
| wolfSSL Session Resumption Denial Of Service ≈ Packet Storm | MISC | packetstormsecurity.com | |
| Releases · wolfSSL/wolfssl · GitHub | MISC | github.com | |
| Full Disclosure: wolfSSL before 5.5.0: Denial-of-service with session resumption | FULLDISC | seclists.org | |
| GitHub - tlspuffin/tlspuffin: A symbolic-model-guided fuzzer for TLS | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.