# GHSA-xphf-cx8h-7q9g: `openssl` `X509StoreRef::objects` is unsound

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-11-23T12:00:00.000Z
- Modified: 2026-09-10T03:50:08.779Z
- 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`.

(As written by GitHub Advisory Database.)

## Affected

- openssl (crates.io): from 0.10.29 before 0.10.60; from 0.0.0-0 before 0.10.60

## References

- <https://github.com/sfackler/rust-openssl/issues/2096> (report, web)
- <https://github.com/sfackler/rust-openssl/commit/cf9681a55cabd4cb9f1475bde17b5079f2a0384e> (web)
- <https://github.com/sfackler/rust-openssl> (package)
- <https://rustsec.org/advisories/RUSTSEC-2023-0072.html> (advisory, web)
- <https://crates.io/crates/openssl> (package)

## Sources

- GitHub Advisory Database: [GHSA-xphf-cx8h-7q9g](https://github.com/advisories/GHSA-xphf-cx8h-7q9g), CC-BY-4.0, modified 2026-09-10
- RustSec Advisory Database: [RUSTSEC-2023-0072](https://rustsec.org/advisories/RUSTSEC-2023-0072.html), CC0-1.0, modified 2024-02-10

---

Page: https://cve.day/GHSA-xphf-cx8h-7q9g · Whole record: https://cve.day/GHSA-xphf-cx8h-7q9g.json · Rebuilt by cve.day 2026-11-25T22:56:43.162Z
