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-0357: MemBio::get_buf has undefined behavior with empty buffers #731

Closed
github-actions bot opened this issue Oct 13, 2024 · 0 comments
Closed
Labels

Comments

@github-actions
Copy link

MemBio::get_buf has undefined behavior with empty buffers

Details
Package openssl
Version 0.10.63
URL sfackler/rust-openssl#2266
Date 2024-07-21
Patched versions >=0.10.66

Previously, MemBio::get_buf called slice::from_raw_parts with a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.

See advisory page for additional details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant