]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Refuse to use OpenSSL 3.0.4 due to potential RCE.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 12 Jul 2022 02:54:49 +0000 (12:54 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 12 Jul 2022 02:54:49 +0000 (12:54 +1000)
OpenSSL has a potential RCE in its RSA implementation (CVE-2022-2274)
so refuse to use that specific version.

configure.ac

index a0ff6f0b3cbebb060e55251654fea97e20b106e5..6ebdd06a2e19e7f897efdb7f673aec74589195b5 100644 (file)
@@ -2796,6 +2796,7 @@ if test "x$openssl" = "xyes" ; then
                                ;;
                        101*)   ;; # 1.1.x
                        200*)   ;; # LibreSSL
+                       3000004*) AC_MSG_ERROR([OpenSSL 3.0.4 has a potential RCE in its RSA implementation (CVE-2022-2274)]) ;;
                        300*)
                                # OpenSSL 3; we use the 1.1x API
                                CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"