Skip to content

fix(deps): bump lettre to 0.11.22 (RUSTSEC-2026-0141)#772

Merged
TheHypnoo merged 1 commit into
mainfrom
fix/lettre-rustsec-2026-0141
May 14, 2026
Merged

fix(deps): bump lettre to 0.11.22 (RUSTSEC-2026-0141)#772
TheHypnoo merged 1 commit into
mainfrom
fix/lettre-rustsec-2026-0141

Conversation

@TheHypnoo
Copy link
Copy Markdown
Contributor

Summary

  • Bumps lettre from 0.11.21 → 0.11.22 in Cargo.lock to clear the new critical advisory RUSTSEC-2026-0141 ("TLS hostname verification disabled when using Boring TLS backend"), which is currently failing the security-audit workflow on main.
  • Perry's lettre integration (perry-ext-nodemailer, perry-stdlib's bundled-nodemailer feature) uses the tokio1-rustls-tls feature, not the BoringSSL backend, so the underlying bug is not exploitable in practice — but bumping to the patched release silences cargo audit and keeps us current.
  • No Cargo.toml change needed: the workspace requirement is lettre = "0.11", which already allows 0.11.22.

The other entries in the failing audit log (bincode v1, number_prefix, paste, rustls-pemfile v2) are unmaintained warnings on transitive deps with no in-tree replacement; they don't fail the audit and are out of scope here.

Test plan

  • cargo check -p perry-ext-nodemailer -p perry-stdlib --features perry-stdlib/bundled-nodemailer succeeds locally
  • CI security-audit job goes green
  • CI cargo-test / lint / parity / compile-smoke stay green

Resolves the critical advisory flagged by `cargo audit` in CI.
Perry's lettre usage is on the rustls-tls path (`tokio1-rustls-tls`),
so the underlying BoringSSL hostname-verification bug does not apply
in practice — but the lockfile bump silences the audit failure and
keeps us on the patched release.
@TheHypnoo TheHypnoo merged commit 409c348 into main May 14, 2026
9 checks passed
@TheHypnoo TheHypnoo deleted the fix/lettre-rustsec-2026-0141 branch May 14, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant