FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

gnutls -- certificate chain verification DoS

Affected packages
gnutls < 1.0.17
1.1.* <= gnutls-devel < 1.1.12


VuXML ID 84ab58cf-e4ac-11d8-9b0a-000347a4fa7d
Discovery 2004-08-02
Entry 2004-10-05

Patric Hornik reports on a problem in the certificate chain verification procedures of GnuTLS that may result in a denial-of-service vulnerability:

The certificate chain should be verified from last root certificate to the first certificate. Otherwise a lot of unauthorized CPU processing can be forced to check certificate signatures signed with arbitrary RSA/DSA keys chosen by attacker.

In GnuTLS the signatures are checked from first to last certificate, there is no limit on size of keys and no limit on length of certificate chain.