Skip to content

fix: update rustls to address RUSTSEC-2026-0285 - #11091

Merged
sdf-jkl merged 1 commit into
apache:mainfrom
Phoenix500526:audit/rustls-RUSTSEC-2026-0285
Sep 15, 2026
Merged

sdf-jkl merged 1 commit into
apache:mainfrom
Phoenix500526:audit/rustls-RUSTSEC-2026-0285

Conversation

@Phoenix500526

@Phoenix500526 Phoenix500526 commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Fixes the security audit failure caused by RUSTSEC-2026-0285.

Rationale for this change

The locked rustls 0.23.39 accepts TLS 1.3 handshake messages across encryption level boundaries and now fails the security audit. Rustls 0.23.45 fixes the vulnerability.

What changes are included in this PR?

Update rustls to 0.23.45 in Cargo.lock, together with its required rustls-webpki dependency updates.

Are these changes tested?

Yes

Are there any user-facing changes?

No

@sdf-jkl sdf-jkl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the checksums on crates.io and reproduced the lockfile update locally

@sdf-jkl
sdf-jkl merged commit 8cfb01c into apache:main Sep 15, 2026
26 of 27 checks passed
@sdf-jkl

sdf-jkl commented Sep 15, 2026

Copy link
Copy Markdown
Member

Thanks @Phoenix500526 🙏

@alamb

alamb commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Thank you for this @Phoenix500526 and @sdf-jkl

@Phoenix500526
Phoenix500526 deleted the audit/rustls-RUSTSEC-2026-0285 branch September 15, 2026 23:31
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Sep 18, 2026
# Which issue does this PR close?

Fixes the [security audit
failure](https://github.com/apache/datafusion/actions/runs/34914826729/job/104210077720)
caused by
[RUSTSEC-2026-0285](https://rustsec.org/advisories/RUSTSEC-2026-0285.html).

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax.
-->



# Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
The locked rustls 0.23.39 accepts TLS 1.3 handshake messages across
encryption level boundaries and now fails the security audit. Rustls
0.23.45 fixes the vulnerability.



# What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

Update rustls to 0.23.45 in Cargo.lock, together with its required
rustls-webpki dependency updates.

# Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?

If this PR claims a performance improvement, please include evidence
such as benchmark results.
-->

Yes

# Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.

If there are any breaking changes to public APIs, please call them out.
-->
No

Signed-off-by: Jiawei Zhao <[email protected]>
Rich-T-kid pushed a commit to Rich-T-kid/arrow-rs that referenced this pull request Sep 21, 2026
# Which issue does this PR close?

Fixes the [security audit
failure](https://github.com/apache/datafusion/actions/runs/34914826729/job/104210077720)
caused by
[RUSTSEC-2026-0285](https://rustsec.org/advisories/RUSTSEC-2026-0285.html).

<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax.
-->



# Rationale for this change

<!--
Why are you proposing this change? If this is already explained clearly
in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand
your changes and offer better suggestions for fixes.
-->
The locked rustls 0.23.39 accepts TLS 1.3 handshake messages across
encryption level boundaries and now fails the security audit. Rustls
0.23.45 fixes the vulnerability.



# What changes are included in this PR?

<!--
There is no need to duplicate the description in the issue here but it
is sometimes worth providing a summary of the individual changes in this
PR.
-->

Update rustls to 0.23.45 in Cargo.lock, together with its required
rustls-webpki dependency updates.

# Are these changes tested?

<!--
We typically require tests for all PRs in order to:
1. Prevent the code from being accidentally broken by subsequent changes
2. Serve as another way to document the expected behavior of the code

If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?

If this PR claims a performance improvement, please include evidence
such as benchmark results.
-->

Yes

# Are there any user-facing changes?

<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.

If there are any breaking changes to public APIs, please call them out.
-->
No

Signed-off-by: Jiawei Zhao <[email protected]>
krinart added a commit to spiceai/arrow-rs that referenced this pull request Oct 1, 2026
Same lockfile bump as upstream apache#11091; rustls 0.23.45 requires
the newer aws-lc-rs and rustls-webpki.
alamb pushed a commit that referenced this pull request Oct 5, 2026
)

- Backport #11091
- For inclusion in #11352

Cherry-pick of
8cfb01c
with minor conflict fixes

So we can get green CI on 59_maintenance branch

Signed-off-by: Jiawei Zhao <[email protected]>
Co-authored-by: Phoenix <[email protected]>
@alamb alamb added the security label Oct 20, 2026
@Jefffrey Jefffrey added development-process Internal changes; PRs with this label are excluded from changelog and removed security labels Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Internal changes; PRs with this label are excluded from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants