Skip to content
OpenAdvisories
Medium GHSA-xphf-cx8h-7q9g RUSTSEC-2023-0072

`openssl` `X509StoreRef::objects` is unsound

Published Nov 28, 2023 · Updated Sep 10, 2026 · Assigned by GHSA

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`.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl >= 0.10.29, < 0.10.60 0.10.60 GHSA-xphf-cx8h-7q9g
crates.io openssl >= 0.0.0-0, < 0.10.60 0.10.60 RUSTSEC-2023-0072

References