All reports
Critical

Use of a Broken or Risky Cryptographic Algorithm in crypto2

Affected versions

Rust / Cargocrypto2
Affected versions
<= 0.1.2
Fixed version
Not reported

Exploitation

CVE-2021-45709

Probability of exploitation in the next 30 days: 0.78%

FIRST EPSS · 2026-11-20

Description

The implementation does not enforce alignment requirements on input slices while incorrectly assuming 4-byte alignment through an unsafe call to std::slice::from_raw_parts_mut, which breaks the contract and introduces undefined behavior.

This affects Chacha20 encryption and decryption in crypto2.

Links