PT-2024-40411 · Unknown · Simd-Json-Derive
Published
2024-11-12
·
Updated
2024-11-12
CVSS v4.0
6.6
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
Name of the Vulnerable Software and Affected Versions
simd-json-derive versions prior to 0.12.0
Description
The issue arises from an invalid use of
MaybeUninit::uninit().assume init() in the derive macro of simd-json-derive, leading to undefined behavior. This misuse can cause invalid memory access and result in panics in binaries compiled in release mode.Recommendations
For versions prior to 0.12.0, update to version 0.12.0 or later to resolve the issue, as it removes the problematic code section and avoids the use of MaybeUninit altogether.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Simd-Json-Derive