Untriaged
wc_VerifyEccsiHash missing sanity check
wolfSSL's ECCSI signature verifier `wc_VerifyEccsiHash` decodes the `r` and `s` scalars from the signature blob via `mp_read_unsigned_bin` with no check that they lie in `[1, q-1]`. A crafted forged signature could verify against any message for any identity, using only publicly-known constants.
Affected products
wolfSSL
- <5.9.1
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>
-
@vifino Adrian Pistol <vifino@tty.sh>