NetSight
medium6.5No CVE yet

GHSA-q445-7m23-qrmw

openssl's `MemBio::get_buf` has undefined behavior with empty buffers

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: low risk of data or systems being changed, low risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rustopenssl< 0.10.660.10.66

Weakness classification

References