PT-2021-4042

CVE-2021-3711

·

تاريخ النشر

2021-08-24

·

تاريخ التحديث

2026-10-31

الوصف من

CVSS 2.0
10
حرجة
المقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions OpenSSL versions 1.1.1 through 1.1.1k
Description The issue is related to a buffer overflow in the SM2 decryption code. When an application calls the EVP PKEY decrypt() function to decrypt SM2 encrypted data, a bug in the implementation can cause the calculation of the buffer size required to hold the plaintext to be smaller than the actual size required. This can lead to a buffer overflow when the function is called a second time with a buffer that is too small. A malicious attacker who can present SM2 content for decryption to an application could cause attacker-chosen data to overflow the buffer, altering the contents of other data held after the buffer, possibly changing application behavior or causing the application to crash.
Recommendations For OpenSSL versions 1.1.1 through 1.1.1k, update to version 1.1.1l or later to fix the issue. As a temporary workaround, consider restricting the use of the EVP PKEY decrypt() function until a patch is available. Avoid using the out parameter with a non-NULL value in the second call to EVP PKEY decrypt() if the buffer size required to hold the plaintext is not properly calculated.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-5WW6-PX42-WC85
ALT-PU-2021-2615
ALT-PU-2021-2646
ALT-PU-2021-2686
ALT-PU-2021-2687
ALT-PU-2021-3241
ALT-PU-2022-2171
ALT-PU-2023-1912
AZL-6779
CLEANSTART-2024-GC32117
CLEANSTART-2026-GK72927
CLEANSTART-2026-TN29223
CLSA-2026-1780682107
CLSA-2026-1780682108
CLSA-2026-1780683040
DSA-4963-1
FREEBSD-SA-21_16
JLSEC-2026-224
MGASA-2021-0429
MGASA-2022-0035
OESA-2021-1330
OPENSUSE-SU-2021:1188-1
OPENSUSE-SU-2021_1188-1
OPENSUSE-SU-2021:2830-1
OPENSUSE-SU-2021_2830-1
OPENSUSE-SU-2022_1396-1
OPENSUSE-SU-2022_4428-1
OPENSUSE-SU-2022_4437-1
OPENSUSE-SU-2024:11127-1
OPENSUSE-SU-2024:11816-1
OPENSUSE-SU-2025:15136-1
RUSTSEC-2021-0097
SUSE-FU-2022:1419-1
SUSE-SU-2021:2830-1
SUSE-SU-2021_2830-1
SUSE-SU-2021:2833-1
SUSE-SU-2021_2833-1
SUSE-SU-2022:0751-1
SUSE-SU-2022:1396-1
SUSE-SU-2022:2134-1
SUSE-SU-2022:3676-1
SUSE-SU-2022:4428-1
SUSE-SU-2022:4437-1
SUSE-SU-2022:4439-1
SUSE-SU-2024:0191-1
SUSE-SU-2024:0196-1
USN-5051-1
USN-5051-4
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾