wycheproof-rsa-pkcs1-sig-invalid-signature
RSA PKCS#1: Invalid signature
The signature is an edge case integer. Edge cases such as a value exactly equal to the modulus are sometimes mishandled by an implementation. This can lead to simple forgeries or denial of service attacks through crashes.
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.
The signature is an edge case integer. Edge cases such as a value exactly equal to the modulus are sometimes mishandled by an implementation. This can lead to simple forgeries or denial of service attacks through crashes. Demonstrated by 192 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
- CVE-2017-11185
- 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.