Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-6937 EUVD-2023-59135GHSA-ff3x-q8pg-rh37

Improper (D)TLS key boundary enforcement

Published Feb 15, 2024 · Updated Apr 24, 2025 · Assigned by wolfSSL

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 products

VendorProductAffectedFixed
wolfSSL wolfSSL ≤ 5.6.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 wolfssl 5.6.6-1.2 —
Debian 12 wolfssl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS wolfssl No fix yet —
Ubuntu 20.04 LTS wolfssl No fix yet —
Ubuntu 18.04 LTS wolfssl No fix yet —
Ubuntu 16.04 LTS wolfssl No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 wolfssl 5.6.6-r0 —
Alpine v3.23 wolfssl 5.6.6-r0 —
Alpine v3.22 wolfssl 5.6.6-r0 —
Alpine v3.21 wolfssl 5.6.6-r0 —
Alpine v3.20 wolfssl 5.6.6-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 wolfssl 5.6.6-r0 —

References