Skip to content

GHSA-q445-7m23-qrmw openssl's `MemBio::get_buf` has undefined behavior with empty buffers

MediumCVSS 6.9
Published
Updated
Exploit status
No public exploit known
Technology
OpenSSL

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io openssl(crates.io) < 0.10.66; >= 0.0.0-0, < 0.10.66 0.10.66 Fixed

Affected products

ProductAffected versionsFixed in
crates.io openssl(crates.io) < 0.10.66 0.10.66
crates.io openssl(crates.io) >= 0.0.0-0, < 0.10.66 0.10.66

References