[gnutls-devel] GnuTLS | outer AlgorithmIdentifer parameters are not verified against tbsCertificate (#698)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Feb 11 09:13:35 CET 2019

That's a nice catch. I do not think that currently this affects any of our algorithms (only RSA-PSS uses parameters, and RSA-PSS is restricted to SHA256 or better), but this issue could cause more serious issues in the future. I went through `compare_sig_algorithm` in `lib/x509/x509.c`  and it seems there is already a check for the parameters, but a typo makes their checking a void operation. Fixing the typo and adding your reproducer should be sufficient to address the issue.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/698#note_140005363
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190211/bc3939e9/attachment.html>

More information about the Gnutls-devel mailing list