CVE-2023-3724

TLS 1.3 client issue handling malicious server when not including a KSE and PSK extension

State
Published
Severity
9.1 Critical
Published
Jul 17, 2023
Updated
Oct 29, 2024
Reserved
Jul 17, 2023

Read the record on cve.org

Description

If a TLS 1.3 client gets neither a PSK (pre shared key) extension nor a KSE (key share extension) when connecting to a malicious server, a default predictable buffer gets used for the IKM (Input Keying Material) value when generating the session master secret. Using a potentially known IKM value when generating the session master secret key compromises the key generated, allowing an eavesdropper to reconstruct it and potentially allowing access to or meddling with message contents in the session. This issue does not affect client validation of connected servers, nor expose private key information, but could result in an insecure TLS 1.3 session when not controlling both sides of the connection. wolfSSL recommends that TLS 1.3 client side users update the version of wolfSSL used.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HwolfSSL

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
wolfSSLwolfSSL
  • 3.14.0 through 5.6.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.