This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate mail-smtp

Dependencies

(6 total, 2 outdated, 1 insecure)

CrateRequiredLatestStatus
 failure^0.1.50.1.8up to date
 futures^0.10.3.30out of date
 mail-core^0.6.20.6.2up to date
 mail-headers^0.6.60.6.6up to date
 mail-internals ⚠️^0.2.30.2.3insecure
 new-tokio-smtp^0.8.10.9.1out of date

Dev dependencies

(1 total, all up-to-date)

CrateRequiredLatestStatus
 mail-core^0.6.00.6.2up to date

Security Vulnerabilities

mail-internals: Use-after-free in `vec_insert_bytes`

RUSTSEC-2023-0054

Incorrect reallocation logic in the function vec_insert_bytes causes a use-after-free.

This function does not have to be called directly to trigger the vulnerability because many methods on EncodingWriter call this function internally.

The mail-* suite is unmaintained and the upstream sources have been actively vandalised. A fixed mail-internals-ng (and mail-headers-ng and mail-core-ng) crate has been published which fixes this, and a dependency on another unsound crate.