wycheproof-rsa-pkcs1-sig-signature-malleability
RSA PKCS#1: Signature malleability
The signature uses a modified encoding. Each message has exactly one valid RSA PKCS#1 signature.
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.
One effect of accepting alternative encodings of a signature is signature malleability. Demonstrated by 72 test vectors across 24 vector documents in Project Wycheproof.
Provenance
- Kind
- vulnerabilityA published weakness exists for this. Failing it is a known exploit path.
- Source
- wycheproof
- Clause
- RFC 8017 §8.2
- CVE
- none
- 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.