RFC 9155 deprecates MD5 and SHA-1 signatures in TLS 1.2 and DTLS 1.2
RFC 9155 says TLS 1.2 and DTLS 1.2 clients must not offer MD5 or SHA-1 in signature_algorithms, servers must not use them in ServerKeyExchange, and the peer must abort if they appear in ServerKeyExchange or CertificateVerify. HMAC-SHA-1 for record protection is explicitly unaffected.
Background
This back-ports to TLS 1.2 the handshake-signature rule TLS 1.3 adopted in 2018, closing the downgrade path that SLOTH and Shambles highlighted: as long as either side still accepts SHA-1 in-protocol signatures, a man-in-the-middle might steer the handshake to it.
Sources
- standardRFC 9155: Deprecating MD5 and SHA-1 Signature Hashes in TLS 1.2 and DTLS 1.2IETF, rfc-editor.org