CVE-2022-37966 s3:libads: no longer reference des encryption types
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Nov 2022 14:20:40 +0000 (15:20 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 14 Dec 2022 10:28:16 +0000 (10:28 +0000)
We no longer have support for des encryption types in the kerberos
libraries anyway.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15237

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit a683507e560a499336c50b88abcd853d49618bf4)

source3/libads/kerberos.c

index a4a5e040c1752b3d8cf47e970622eabc7c2828b3..d0b82af22b76d291f6bebfae289c593eef982611 100644 (file)
@@ -665,7 +665,7 @@ static char *get_enctypes(TALLOC_CTX *mem_ctx)
 
        if (lp_kerberos_encryption_types() == KERBEROS_ETYPES_ALL ||
            lp_kerberos_encryption_types() == KERBEROS_ETYPES_LEGACY) {
-               legacy_enctypes = "arcfour-hmac-md5 des-cbc-crc des-cbc-md5";
+               legacy_enctypes = "arcfour-hmac-md5";
        }
 
        enctypes = talloc_asprintf(mem_ctx, "\tdefault_etypes = %s %s\n",