Skip to content

Floor rustls to v0.23.45 to patch RUSTSEC-2026-0285 - #256

Open
luisschwab wants to merge 1 commit into
bitcoindevkit:masterfrom
luisschwab:deps/patch-rustsec-2026-0285
Open

luisschwab wants to merge 1 commit into
bitcoindevkit:masterfrom
luisschwab:deps/patch-rustsec-2026-0285

Conversation

@luisschwab

Copy link
Copy Markdown
Member

Closes #255

Changelog

* Floor `rustls` to v0.23.45 to patch RUSTSEC-2026-0285

@luisschwab luisschwab self-assigned this Sep 15, 2026
@luisschwab luisschwab added the dependencies Pull requests that update a dependency file label Sep 15, 2026
Comment thread Cargo.toml
openssl = { version = "0.10.78" } # blame: match `openssl-sys` (multiple RUSTSECs)
openssl-sys = { version = "0.9.114" } # blame: bitreq@0.3.7 -> native-tls@0.3.0 -> openssl@0.10.15 (multiple RUSTSECs)
ring = { version = "0.17.12" } # blame: bitreq@0.3.7 -> tokio-rustls@0.26.4 -> rustls@0.23.38-> rustls-webpki@0.103.13 -> ring@0.17.0 (RUSTSEC-2025-0009)
rustls = { version = "0.23.45" } # blame: bitreq@0.3.7 -> rustls@0.23.43 (RUSTSEC-2026-0285)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@luisschwab Do we need to only bump the dev-dependencies ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

cargo-audit is not complaining, but I'll check if the broken version will get pulled in on a downstream project. AFAIK 0.23.45 would be pulled, since the whole dep tree, including dev-deps, are pulled in by dependants.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've tested it locally and a downstream of esplora-client does not pull in the vulnerable rustls version.

cargo tree -i rustls
rustls v0.23.45
└── bitreq v0.3.7
    [build-dependencies]
    └── halfin v0.5.0 (/Users/luisschwab/git/halfin)
[build-dependencies]
└── halfin v0.5.0 (/Users/luisschwab/git/halfin)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0285: TLS 1.3 handshake messages incorrectly accepted across encryption level boundaries

2 participants