Update Rust crate openssl to v0.10.70 [SECURITY]#21
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update Rust crate openssl to v0.10.70 [SECURITY]#21renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.10.30→0.10.70GitHub Vulnerability Alerts
GHSA-6hcf-g6gr-hhcr
These functions would crash when the context argument was None with certain extension types.
Thanks to David Benjamin (Google) for reporting this issue.
GHSA-3gxf-9r58-2ghg
OpenSSL has a
modifiedbit that it can set on onX509_NAMEobjects. If this bit is set then the object is not thread-safe even when it appears the code is not modifying the value.Thanks to David Benjamin (Google) for reporting this issue.
GHSA-9qwg-crg9-m2vc
SubjectAlternativeNameandExtendedKeyUsagearguments were parsed using the OpenSSL functionX509V3_EXT_nconf. This function parses all input using an OpenSSL mini-language which can perform arbitrary file reads.Thanks to David Benjamin (Google) for reporting this issue.
CVE-2023-53159
When this function was passed an empty string,
opensslwould attempt to callstrlenon it, reading arbitrary memory until it reached a NUL byte.GHSA-xphf-cx8h-7q9g
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.GHSA-q445-7m23-qrmw
Previously,
MemBio::get_bufcalledslice::from_raw_partswith a null-pointer, which violates the functions invariants, leading to undefined behavior. In debug builds this would produce an assertion failure. This is now fixed.CVE-2025-24898
Impact
ssl::select_next_protocan return a slice pointing into theserverargument's buffer but with a lifetime bound to theclientargument. In situations where theserverbuffer's lifetime is shorter than theclientbuffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client.Patches
openssl0.10.70 fixes the signature ofssl::select_next_prototo properly constrain the output buffer's lifetime to that of both input buffers.Workarounds
In standard usage of
ssl::select_next_protoin the callback passed toSslContextBuilder::set_alpn_select_callback, code is only affected if theserverbuffer is constructed within the callback. For example:Not vulnerable - the server buffer has a
'staticlifetime:Not vulnerable - the server buffer outlives the handshake:
Vulnerable - the server buffer is freed when the callback returns:
References
https://github.com/sfackler/rust-openssl/pull/2360
Release Notes
rust-openssl/rust-openssl (openssl)
v0.10.70: openssl v0.10.70Compare Source
What's Changed
SslMethod::{dtls_client,dtls_server}by @alex in sfackler#2358Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.69...openssl-v0.10.70
v0.10.69: openssl v0.10.69Compare Source
What's Changed
openssl-macroto version0.1.1by @caspermeijn in sfackler#2324New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.68...openssl-v0.10.69
v0.10.68Compare Source
What's Changed
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.67...openssl-v0.10.68
v0.10.67Compare Source
What's Changed
MdCtxRef::digest_verify_finalby @alex in sfackler#2283New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.66...openssl-v0.10.67
v0.10.66Compare Source
What's Changed
MemBio::get_bufwith empty results by @alex in sfackler#2266Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.65...openssl-v0.10.66
v0.10.65Compare Source
What's Changed
pkgconfpackage on some distros by @JonathanBrouwer in sfackler#2253New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.64...openssl-v0.10.65
v0.10.64Compare Source
What's Changed
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.63...openssl-v0.10.64
v0.10.63Compare Source
What's Changed
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.62...openssl-v0.10.63
v0.10.62Compare Source
What's Changed
rand_priv_bytesby @overvenus in sfackler#2126New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.61...openssl-v0.10.62
v0.10.61: openssl v0.10.61Compare Source
v0.10.60Compare Source
What's Changed
update_uncheckedtosymm::Crypterby @alex in sfackler#2100X509StoreRef::objects, it is unsound by @alex in sfackler#2099Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.59...openssl-v0.10.60
v0.10.59Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.58...openssl-v0.10.59
v0.10.58Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.57...openssl-v0.10.58
v0.10.57Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.56...openssl-v0.10.57
v0.10.56: openssl v0.10.56Compare Source
v0.10.55Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.54...openssl-v0.10.55
v0.10.54Compare Source
What's Changed
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.53...openssl-v0.10.54
v0.10.53Compare Source
What's Changed
DSAPrivateKeyby @alex in sfackler#1939New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.52...openssl-v0.10.53
v0.10.52Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.51...openssl-v0.10.52
v0.10.51Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.50...openssl-v0.10.51
v0.10.50: openssl v0.10.50Compare Source
v0.10.49: openssl v0.10.49Compare Source
v0.10.48: openssl v0.10.48Compare Source
What's Changed
New Contributors
Full Changelog: rust-openssl/rust-openssl@openssl-v0.10.47...openssl-v0.10.48
v0.10.47: openssl v0.10.47Compare Source
v0.10.46: openssl v0.10.46Compare Source
v0.10.45: openssl v0.10.45Compare Source
v0.10.44: openssl v0.10.44Compare Source
v0.10.43: openssl v0.10.43Compare Source
v0.10.42: openssl v0.10.42Compare Source
v0.10.41: openssl v0.10.41Compare Source
v0.10.40: openssl v0.10.40Compare Source
v0.10.39: openssl v0.10.39Compare Source
v0.10.38: openssl v0.10.38Compare Source
v0.10.37: openssl v0.10.37Compare Source
v0.10.36: openssl v0.10.36Compare Source
v0.10.35: openssl v0.10.35Compare Source
v0.10.34: openssl v0.10.34Compare Source
v0.10.33: openssl v0.10.33Compare Source
v0.10.32: openssl v0.10.32Compare Source
v0.10.31: openssl v0.10.31Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.