Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

RUSTSEC-2026-0349: Unauthenticated ServerHello can downgrade later connections to classical key exchange

Đang mở Phù hợp với người mới
#23 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
65/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
security

Hướng nghiên cứu

Phụ thuộc bị ảnh hưởng là rustls, được ghim ở phiên bản 0.23.45 trong workspace. Bắt đầu từ Cargo.toml và Cargo.lock để xem rustls được giải quyết ở đâu, sau đó kiểm tra xem có crate nào trong cây phụ thuộc vẫn kéo về phiên bản có lỗ hổng hay không. Nâng rustls lên 0.23.46 trở lên, chạy cargo build và cargo test, rồi xác nhận rằng tệp khóa hiện hiển thị phiên bản đã vá. Hoàn thành khi phiên bản đã vá được giải quyết và các bài kiểm thử đều đạt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Unauthenticated ServerHello can downgrade later connections to classical key exchange

Details
Package rustls
Version 0.23.45
URL https://github.com/rustls/rustls/pull/3355
Date 2026-10-14
Patched versions >=0.23.46

The client recorded the server-selected key exchange group for each server
name when processing the ServerHello, before the server was authenticated.
This record is used to predict which key share to send in future ClientHellos
to that server name.

A network attacker can answer one connection attempt with a ServerHello
selecting X25519, and then close the connection. Later ClientHellos for that
name carry only an X25519 key share, while supported_groups still lists
X25519MLKEM768 first. If the genuine server accepts that share rather than
sending a HelloRetryRequest for its preferred hybrid group, the handshake
completes with classical-only key exchange and no error. This persists for as
long as the entry stays in the client's session store.

The impact is loss of post-quantum confidentiality for affected connections
("harvest now, decrypt later"). There is no key compromise and no
authentication bypass.

The following are not affected:

  • connections to servers which send a HelloRetryRequest for their preferred group,
  • clients with resumption disabled (as nothing is stored), and
  • other server names.

This behaviour is discussed in
draft-ietf-tls-key-share-prediction,
so the practical impact depends largely on server policy.

See advisory page for additional details.

Ngôn ngữ chính
Rust
Star
1
Fork
0
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của stackabletech/stackable-odbc-trino

Tất cả issue của stackabletech/stackable-odbc-trino

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.