PT-2021-11166

CVE-2020-25657

·

Published

2021-01-12

·

Updated

2025-03-06

Description by

CVSS 3.1
5.9
Medium
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: m2crypto versions prior to the fixed version
Description: A flaw was found in m2crypto, where it is vulnerable to Bleichenbacher timing attacks in the RSA decryption API via the timed processing of valid PKCS#1 v1.5 Ciphertext. The highest threat from this vulnerability is to confidentiality. This issue is related to the Bleichenbacher attack, which was first discovered in 1998 and has been revisited in recent research, showing that many software implementations of the PKCS #1 v1.5 scheme for RSA key exchange are vulnerable. The attack allows an attacker to decrypt messages and forge signatures by measuring the time it takes for a server to process specially crafted encrypted texts.
Recommendations: For m2crypto, consider disabling the use of PKCS#1 v1.5 for RSA key exchange until a patch is available. Restrict access to the RSA decryption API to minimize the risk of exploitation. As a temporary workaround, avoid using the DecryptPKCS1v15SessionKey function in the crypto/rsa API until the issue is resolved. It is recommended to stop using RSA PKCS#1 v1.5 encryption. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
AZL-10076
AZL-34969
MGASA-2022-0274
OESA-2022-1852
OPENSUSE-SU-2022_2532-1
OPENSUSE-SU-2022:2562-1
OPENSUSE-SU-2022_2562-1
OPENSUSE-SU-2022_2691-1
OPENSUSE-SU-2024:12192-1
RHSA-2021:1169
SUSE-FU-2024:1448-1
SUSE-RU-2025:0796-1
SUSE-RU-2025:0800-1
SUSE-SU-2022:2527-1
SUSE-SU-2022_2527-1
SUSE-SU-2022:2532-1
SUSE-SU-2022_2532-1
SUSE-SU-2022:2562-1
SUSE-SU-2022_2562-1
SUSE-SU-2022:2691-1
SUSE-SU-2022_2691-1
Found an issue in the description? Have something to add? Feel free to write us 👾