sfackler / rust-native-tls

Apache License 2.0
473 stars 197 forks source link

Several RUSTSEC vulnerabilities in openssl #257

Closed tdmb closed 1 year ago

tdmb commented 1 year ago

A cargo audit reveals the following vulnerabilities for the latest native-tls 0.2.11

Dependency tree: openssl 0.10.45 └── native-tls 0.2.11

Crate: openssl Version: 0.10.45 Title: openssl SubjectAlternativeName and ExtendedKeyUsage::other allow arbitrary file read Date: 2023-03-24 ID: RUSTSEC-2023-0023 URL: https://rustsec.org/advisories/RUSTSEC-2023-0023 Solution: Upgrade to >=0.10.48

Crate: openssl Version: 0.10.45 Title: openssl X509NameBuilder::build returned object is not thread safe Date: 2023-03-24 ID: RUSTSEC-2023-0022 URL: https://rustsec.org/advisories/RUSTSEC-2023-0022 Solution: Upgrade to >=0.10.48

Crate: openssl Version: 0.10.45 Title: openssl X509Extension::new and X509Extension::new_nid null pointer dereference Date: 2023-03-24 ID: RUSTSEC-2023-0024 URL: https://rustsec.org/advisories/RUSTSEC-2023-0024 Solution: Upgrade to >=0.10.48

sfackler commented 1 year ago

Run cargo update.