net-snmp programs crash with sha224, sha256, sha384, or sha512 certificates on assertion failure
Issue
-
Errors similar to the following can be seen in the logs or on the terminal:
unknown hash algorithm 4 netsnmp_assert (lhs->fingerprint != ((void *)0)) && (rhs->fingerprint != ((void *)0)) failed cert_util.c:561 _cert_compare()
-
All programs from the
net-snmp
ornet-snmp-utils
package, includingsnmpd
can crash on segmentation fault with error similar to the following:snmpd[<pid>]: segfault at 0 ip 00007fcb8d793156 sp 00007ffd7e0c9cc8 error 4 in libc-2.17.so[7fcb8d649000+1c3000]
Environment
- Red Hat Enterprise Linux 7
net-snmp
with D(TLS)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.