Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in sequoia-openpgp. Signature verification accepts the Ed25519 identity public key, which is a low-order Edwards point, and Sequoia does not reject the other low-order points before calling the backend. The Nettle, OpenSSL, and Botan backends are invoked on the raw public key. The RustCrypto backend calls ed25519-dalek VerifyingKey::verify, which does not reject small-order keys; verify_strict does, and Sequoia does not call it. Under the identity public key, verification can succeed for a message that was not signed with a corresponding private key. Ordinary prime-order Ed25519 keys are unaffected. An application is exposed when it treats that degenerate certificate as authoritative. The issue is present in sequoia-openpgp 2.4.2. The default crate feature is crypto-nettle.