RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0613

Argon2 string-to-key parameters are not limited by StandardPolicy

Reported
Issued
Package
sequoia-openpgp (crates.io)
Type
Vulnerability
Categories
Aliases
References
Patched
  • >=2.5.0

Description

An attacker can trigger a denial of service using Argon2. Protect against this by extending the Policy trait to check S2K objects. Change the StandardPolicy to reject unreasonable Argon parameter sets by default.

Advisory available under CC0-1.0 license.