RUSTSEC-2026-0141: TLS hostname verification disabled when using Boring TLS backend

Đang mở
#574 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
rust
Lĩnh vực
security

Hướng nghiên cứu

The report identifies a TLS hostname-verification vulnerability in lettre's boring-tls integration, but does not name files or tests in cot. Start by checking whether this repository uses or configures lettre with the affected feature, then trace the dependency and relevant security tests. Done means the affected configuration is addressed and regression coverage confirms strict hostname verification; the issue does not specify the remediation.

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

Mô tả

TLS hostname verification disabled when using Boring TLS backend

Details
Package lettre
Version 0.11.21
URL https://github.com/lettre/lettre/security/advisories/GHSA-4pj9-g833-qx53
Date 2026-05-14
Patched versions >=0.11.22
Unaffected versions <0.10.1

An inverted-boolean bug in lettre's boring-tls integration silently
disables TLS hostname verification for callers using the default (strict)
configuration. An on-path attacker presenting any chain-valid certificate
for any domain can intercept SMTP submission, including PLAIN/LOGIN
credentials and message contents, against any lettre user built with the
boring-tls feature. Other TLS backends (native-tls, rustls) are
unaffected.

The bug was introduced in v0.10.1 and persists through v0.11.21 (latest).

See advisory page for additional details.

Ngôn ngữ chính
Rust
Star
1.1k
Fork
57
Merge trung bình
17 giờ 39 phút
Pull request đã merge (30 ngày)
12

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 cot-rs/cot

Tất cả issue của cot-rs/cot

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.