OSV-2023-358 Heap-double-free in wolfCrypt_custom_free
A heap double-free vulnerability in wolfSSL's custom free function allows attackers to cause denial of service or potentially execute arbitrary code.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is OSV-2023-358?
OSV-2023-358 is an use after free vulnerability in wolfssl, published on 1 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
OSS-Fuzz report: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=58484
Crash type: Heap-double-free
Crash state:
wolfCrypt_custom_free
wolfSSL_Free
FreeOcspRequest
Which versions are affected by OSV-2023-358?
1 open source package ship an affected version, including wolfssl.
| Package | Affected | Fixed in |
|---|---|---|
wolfssl OSS-Fuzz | All versions | None |
How do I fix OSV-2023-358?
No fix has been published for OSV-2023-358 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is OSV-2023-358 being exploited?
There is no known exploitation of OSV-2023-358 in the wild and no public exploit code.