CVE-2022-38152
CVSS V2 None
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2022-38152
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2022-08-31T17:15:08
- Last Modified Date
- 2023-03-01T15:50:06
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:* | 1 | OR | 5.5.0 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
http://packetstormsecurity.com/files/170604/wolfSSL-Session-Resumption-Denial-Of-Service.html | |
http://seclists.org/fulldisclosure/2023/Jan/7 | |
https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/ | |
https://github.com/tlspuffin/tlspuffin | Not Applicable |
https://github.com/wolfSSL/wolfssl/pull/5468 | Exploit Patch Third Party Advisory |
https://github.com/wolfSSL/wolfssl/releases | Release Notes Third Party Advisory |
https://www.wolfssl.com/docs/security-vulnerabilities/ | Vendor Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-38152 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-38152 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-08-31 18:00:05 | Added to TrackCVE | |||
2023-01-20 06:13:15 | 2023-01-20T05:15:11 | CVE Modified Date | updated | |
2023-01-20 06:13:15 | Analyzed | Modified | Vulnerability Status | updated |
2023-01-20 06:13:16 | References | updated | ||
2023-01-20 17:13:06 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-01-20 20:13:18 | 2023-01-20T19:15:14 | CVE Modified Date | updated | |
2023-01-20 20:13:19 | References | updated | ||
2023-02-15 23:14:13 | 2023-02-15T22:15:11 | CVE Modified Date | updated | |
2023-02-15 23:14:14 | References | updated | ||
2023-03-01 16:13:40 | 2023-03-01T15:50:06 | CVE Modified Date | updated | |
2023-03-01 16:13:40 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |