wycheproof-dsa-invalid-signature
DSA: Invalid signature
The signature contains special case values such as r=1 and s=0. Buggy implementations may accept such values, if the implementation does not check boundaries and computes s^(-1) == 0.
REJECT
Your service should reject this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
Accepting such signatures can have the effect that an adversary can forge signatures without even knowing the message to sign. Demonstrated by 452 test vectors across 8 vector documents in Project Wycheproof.
Provenance
- Kind
- vulnerabilityA published weakness exists for this. Failing it is a known exploit path.
- Source
- wycheproof
- Clause
- FIPS 186-4 §4
- CVE
- CVE-2022-21449
- Weakness
- none
Test keys only. Nothing here is a statement about any particular service: the expected outcome above is what an application ought to do, not evidence that yours does.