GHSA-xphf-cx8h-7q9g
JSON

medium

`openssl` `X509StoreRef::objects` is unsound

Severity
medium rating by GitHub
Published
Last changed
Also known as
RUSTSEC-2023-0072

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

Product or packageVersionsReported by
openssl (crates.io)from 0.10.29 before 0.10.60, from 0.0.0-0 before 0.10.60GitHub Advisory Database, RustSec Advisory Database

What each source says

GitHub Advisory Database

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.

RustSec Advisory Database

This function returned a shared reference into an OpenSSL datastructure but did not account for interior mutability. OpenSSL may modify the data behind this reference, meaning accesses can race and the reference is unsound.

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

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-xphf-cx8h-7q9g changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0072 changed 2024-02-10CC0-1.0