All reports
Medium

`openssl` `X509StoreRef::objects` is unsound

Affected versions

Rust / Cargoopenssl
Affected versions
>= 0.10.29, < 0.10.60
Fixed version
0.10.60

Description

This function returned a reference into an OpenSSL datastructure, but there was no way to ensure OpenSSL would not mutate the datastructure behind one's back.

Use of this function should be replaced with X509StoreRef::all_certificates.

Links