🛡️ CVE-2022-38152 on Debian — wolfssl
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.
Distribution advisory
This page covers CVE-2022-38152 as tracked by Debian, for the package wolfssl. The fix is available in version 5.5.3-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.
Affected software
DEBIAN-CVE-2022-38152 is recorded against 1 package.
- wolfssl (fixed in 5.5.3-1)
Timeline and source
Published on 31 August 2022 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2022-38152 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| wolfssl | — | 5.5.3-1 |
References
Similar Threats
- Medium CVE-2024-2881
- Medium CVE-2024-1543
- Medium CVE-2024-1545
- Medium CVE-2024-1544
- Unknown BELL-CVE-2024-1545
More DEBIAN CVE 2022 advisories
Browse all of DEBIAN CVE 2022 in the advisory index.
- DEBIAN-CVE-2022-38023
- DEBIAN-CVE-2022-38065
- DEBIAN-CVE-2022-38072
- DEBIAN-CVE-2022-38076
- DEBIAN-CVE-2022-38090
- DEBIAN-CVE-2022-38096
- DEBIAN-CVE-2022-38143
- DEBIAN-CVE-2022-38150
- DEBIAN-CVE-2022-38153
- DEBIAN-CVE-2022-38177
- DEBIAN-CVE-2022-38178
- DEBIAN-CVE-2022-38223
- DEBIAN-CVE-2022-38266
- DEBIAN-CVE-2022-38349
- DEBIAN-CVE-2022-38398
- DEBIAN-CVE-2022-38457
Site Security Check
Is wolfssl part of your stack?
DEBIAN-CVE-2022-38152 is rated CVSS 7.5 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.