Skip to content

Commit c420785

Browse files
authored
openssl X509StoreRef::objects is unsound (#1824)
1 parent a9468c3 commit c420785

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

crates/openssl/RUSTSEC-0000-0000.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
```toml
2+
[advisory]
3+
id = "RUSTSEC-0000-0000"
4+
package = "openssl"
5+
date = "2023-11-23"
6+
url = "https://github.com/sfackler/rust-openssl/issues/2096"
7+
informational = "unsound"
8+
categories = ["memory-corruption"]
9+
10+
[affected]
11+
functions = { "openssl::x509::store::X509StoreRef::objects" = ["< 0.10.60, >=0.10.29"] }
12+
13+
[versions]
14+
patched = [">= 0.10.60"]
15+
```
16+
17+
# `openssl` `X509StoreRef::objects` is unsound
18+
19+
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.
20+
21+
Use of this function should be replaced with `X509StoreRef::all_certificates`.

0 commit comments

Comments
 (0)