diff -Nru openssl-1.1.1f/debian/changelog openssl-1.1.1f/debian/changelog --- openssl-1.1.1f/debian/changelog 2024-01-31 20:45:27.000000000 +0000 +++ openssl-1.1.1f/debian/changelog 2024-02-16 15:41:31.000000000 +0000 @@ -1,3 +1,19 @@ +openssl (1.1.1f-1ubuntu2.22) focal-security; urgency=medium + + * SECURITY UPDATE: Implicit rejection for RSA PKCS#1 (LP: #2054090) + - debian/patches/openssl-1.1.1-pkcs1-implicit-rejection.patch: + Return deterministic random output instead of an error in case + there is a padding error in crypto/cms/cms_env.c, + crypto/pkcs7/pk7_doit.c, crypto/rsa/rsa_local.h, + crypto/rsa/rsa_ossl.c, crypto/rsa/rsa_pk1.c, crypto/rsa/rsa_pmeth.c, + doc/man1/pkeyutl.pod, doc/man1/rsautl.pod, + doc/man3/EVP_PKEY_CTX_ctrl.pod, doc/man3/EVP_PKEY_decrypt.pod, + doc/man3/RSA_padding_add_PKCS1_type_1.pod, + doc/man3/RSA_public_encrypt.pod, include/openssl/rsa.h and + test/recipes/30-test_evp_data/evppkey.txt. + + -- David Fernandez Gonzalez Fri, 16 Feb 2024 16:41:31 +0100 + openssl (1.1.1f-1ubuntu2.21) focal-security; urgency=medium * SECURITY UPDATE: Excessive time spent in DH check / generation with diff -Nru openssl-1.1.1f/debian/patches/openssl-1.1.1-pkcs1-implicit-rejection.patch openssl-1.1.1f/debian/patches/openssl-1.1.1-pkcs1-implicit-rejection.patch --- openssl-1.1.1f/debian/patches/openssl-1.1.1-pkcs1-implicit-rejection.patch 1970-01-01 00:00:00.000000000 +0000 +++ openssl-1.1.1f/debian/patches/openssl-1.1.1-pkcs1-implicit-rejection.patch 2024-02-16 15:41:31.000000000 +0000 @@ -0,0 +1,1154 @@ +Backport of: + +From 5ab3ec1bb1eaa795d775f5896818cfaa84d33a1a Mon Sep 17 00:00:00 2001 +From: Hubert Kario +Date: Thu, 27 Oct 2022 19:16:58 +0200 +Subject: [PATCH] rsa: Add option to disable implicit rejection + +Reviewed-by: Dmitry Belyavskiy +Reviewed-by: Tim Hudson +Reviewed-by: Tomas Mraz +(Merged from https://github.com/openssl/openssl/pull/13817) +--- + +--- openssl-1.1.1f.orig/doc/man3/EVP_PKEY_CTX_ctrl.pod ++++ openssl-1.1.1f/doc/man3/EVP_PKEY_CTX_ctrl.pod +@@ -256,6 +256,15 @@ B