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
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
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