RustSec logo

History ⋅ Edit ⋅ JSON (OSV)

RUSTSEC-2026-0609

Degenerate DSA keys are accepted on the Nettle and OpenSSL backends

Reported
Issued
Package
sequoia-openpgp (crates.io)
Type
Vulnerability
Categories
Aliases
References
CVSS Score
5.3 MEDIUM
CVSS Details
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality Impact
None
Integrity Impact
High
Availability Impact
None
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Patched
  • >=2.5.0

Description

DSA signature verification did not reject a public key with generator 1 and public value 1 before calling the cryptographic backend. The Nettle and OpenSSL backends, including the default Nettle build, accepted this key. Under that key, a signature can verify for every message. Ordinary DSA keys are not affected. An application is exposed when that degenerate certificate is accepted as authoritative.

These keys are now detected and rejected.

Advisory available under CC0-1.0 license.