All reports
Medium

rust-openssl Use-After-Free in `Md::fetch` and `Cipher::fetch`

Affected versions

Version ranges need review.

Rust / Cargoopenssl
Affected versions
>= 0.10.39, < 0.10.72
Fixed version
0.10.72
Rust / Cargoopenssl
Affected versions
>=0.10.39 <0.10.72
Fixed version
0.10.72

Description

When a Some(...) value was passed to the properties argument of either of these functions, a use-after-free would result.

In practice this would nearly always result in OpenSSL treating the properties as an empty string (due to CString::drop's behavior).

The maintainers thank quitbug for reporting this vulnerability to us.

Links