Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUSTSEC-2024-0400: ruzstd uninit and out-of-bounds memory reads #2053

Closed
github-actions bot opened this issue Nov 29, 2024 · 1 comment
Closed

RUSTSEC-2024-0400: ruzstd uninit and out-of-bounds memory reads #2053

github-actions bot opened this issue Nov 29, 2024 · 1 comment

Comments

@github-actions
Copy link

ruzstd uninit and out-of-bounds memory reads

Details
Package ruzstd
Version 0.7.2
URL KillingSpark/zstd-rs#75
Date 2024-11-28
Patched versions >=0.7.3
Unaffected versions <0.7.0

Affected versions of ruzstd miscalculate the length of the allocated
and init section of its internal RingBuffer, leading to uninitialized
or out-of-bounds reads in copy_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.

See advisory page for additional details.

@tomaka
Copy link
Contributor

tomaka commented Nov 29, 2024

Fixed in #2040

@tomaka tomaka closed this as completed Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant