In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade hpke-rs-rust-crypto to version 0.6.0 or higher.
hpke-rs-rust-crypto is an implementation of the HpkeCrypto trait using native Rust crypto implementations (hkdf, sha2, p256, k256, p384, x25519-dalek, chacha20poly1305, aes-gcm).
Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to the unchecked sequence number increment in the Context encryption/decryption routines in src/lib.rs. An attacker can cause nonce reuse and compromise AEAD confidentiality and integrity by triggering a wraparound of the 32-bit context counter past its maximum value.