`ruzstd` uninit and out-of-bounds memory reads
Moderate severity
GitHub Reviewed
Published
Dec 2, 2024
to the GitHub Advisory Database
Description
Published to the GitHub Advisory Database
Dec 2, 2024
Reviewed
Dec 2, 2024
Affected versions of
ruzstd
miscalculate the length of the allocated and init section of its internalRingBuffer
, leading to uninitialized or out-of-bounds reads incopy_bytes_overshooting
of up to 15 bytes.This may result in up to 15 bytes of memory contents being written into the decoded data when decompressing a crafted archive. This may occur multiple times per archive.
References