CVE-2023-6937
published medium CVSS 3.1 · 5.3Improper (D)TLS key boundary enforcement
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfSSL0 through 5.6.4 · Other versions: unaffected | Affected | Not stated | wolfSSL |
| wolfssl | — | wolfssl0 through 5.64 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
| Alpine Linux | v3.19 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
| Alpine Linux | v3.20 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
| Alpine Linux | v3.21 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
| Alpine Linux | v3.22 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
| Alpine Linux | v3.23 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.6.6-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- wolfSSL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfSSL | 0 through 5.6.4 (affected · release bundle)Default: unaffected | wolfSSL · cna |
| wolfssl | wolfssl | 0 through 5.64 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
2Provider assertions
3wolfSSL · cna
Improper (D)TLS key boundary enforcement
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 068aa29a93aae5d4b85975c18fd1692be507197441766cbc220cb9fe77d184a3
- Ingested
- 23 Sep 2026, 08:15:54 UTC
- Source record
- Official CVE record