Vulnerability · Published Feb 15, 2024 · Assigned by wolfSSL

CVE-2023-6937Improper (D)TLS key boundary enforcement

Medium 5.3

In plain English

A medium-severity improper input validation in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 56.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

wolfSSL prior to 5.6.6 did not check that messages in one (D)TLS record do not span key boundaries. As a result, it was possible to combine (D)TLS messages using different keys into one (D)TLS record. The most extreme edge case is that, in (D)TLS 1.3, it was possible that an unencrypted (D)TLS 1.3 record from the server containing first a ServerHello message and then the rest of the first server flight would be accepted by a wolfSSL client. In (D)TLS 1.3 the handshake is encrypted after the ServerHello but a wolfSSL client would accept an unencrypted flight from the server. This does not compromise key negotiation and authentication so it is assigned a low severity rating.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20wolfssl5.6.6-r0ALPINE-CVE-2023-6937
Alpine:v3.21wolfssl5.6.6-r0ALPINE-CVE-2023-6937
Alpine:v3.22wolfssl5.6.6-r0ALPINE-CVE-2023-6937
Alpine:v3.23wolfssl5.6.6-r0ALPINE-CVE-2023-6937
Alpine:v3.24wolfssl5.6.6-r0ALPINE-CVE-2023-6937
Debian:12wolfsslno fix listedDEBIAN-CVE-2023-6937
Debian:13wolfssl5.6.6-1.2DEBIAN-CVE-2023-6937
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2023-6937

Affected products (as reported)

VendorProductVersions
wolfSSL wolfSSL 0 – through 5.6.4

Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References