mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2025-12-27 06:29:31 +01:00
openssl X509StoreRef::objects is unsound (#1824)
This commit is contained in:
21
crates/openssl/RUSTSEC-0000-0000.md
Normal file
21
crates/openssl/RUSTSEC-0000-0000.md
Normal file
@@ -0,0 +1,21 @@
|
||||
```toml
|
||||
[advisory]
|
||||
id = "RUSTSEC-0000-0000"
|
||||
package = "openssl"
|
||||
date = "2023-11-23"
|
||||
url = "https://github.com/sfackler/rust-openssl/issues/2096"
|
||||
informational = "unsound"
|
||||
categories = ["memory-corruption"]
|
||||
|
||||
[affected]
|
||||
functions = { "openssl::x509::store::X509StoreRef::objects" = ["< 0.10.60, >=0.10.29"] }
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.10.60"]
|
||||
```
|
||||
|
||||
# `openssl` `X509StoreRef::objects` is unsound
|
||||
|
||||
This function returned a reference into an OpenSSL datastructure, but there was no way to ensure OpenSSL would not mutate the datastructure behind ones back.
|
||||
|
||||
Use of this function should be replaced with `X509StoreRef::all_certificates`.
|
||||
Reference in New Issue
Block a user