Out-of-bounds Read in Wolfssl
CVE-2022-42905
In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then a malicious TLS 1.3 client or network attacker can trigger a buffer over-read on the heap of 5 bytes. (WOLFSSL_CALLBACKS is only intended for debugging.)
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, fuzzing-peach/vul-and-poc, tlspuffin/tlspuffin, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.wolfssl.com/docs/security-vulnerabilities/ (Vendor Advisory)
- github.com/wolfSSL/wolfssl/releases (Third Party Advisory, Release Notes)
- github.com/wolfSSL/wolfssl/releases/tag/v5.5.2-stable (Third Party Advisory, Release Notes)
- 20230119 wolfSSL before 5.5.2: Heap-buffer over-read with WOLFSSL_CALLBACKS (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/170610/wolfSSL-WOLFSSL_CALLBACKS-Heap-Buffer-Over… (Third Party Advisory)
- blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/