Executive Summary
Informations | |||
---|---|---|---|
Name | CVE-2021-3711 | First vendor Publication | 2021-08-24 |
Vendor | Cve | Last vendor Modification | 2024-06-21 |
Security-Database Scoring CVSS v3
Cvss vector : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | |||
---|---|---|---|
Overall CVSS Score | 9.8 | ||
Base Score | 9.8 | Environmental Score | 9.8 |
impact SubScore | 5.9 | Temporal Score | 9.8 |
Exploitabality Sub Score | 3.9 | ||
Attack Vector | Network | Attack Complexity | Low |
Privileges Required | None | User Interaction | None |
Scope | Unchanged | Confidentiality Impact | High |
Integrity Impact | High | Availability Impact | High |
Calculate full CVSS 3.0 Vectors scores |
Security-Database Scoring CVSS v2
Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P) | |||
---|---|---|---|
Cvss Base Score | 7.5 | Attack Range | Network |
Cvss Impact Score | 6.4 | Attack Complexity | Low |
Cvss Expoit Score | 10 | Authentication | None Required |
Calculate full CVSS 2.0 Vectors scores |
Detail
In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen data to overflow the buffer by up to a maximum of 62 bytes altering the contents of other data held after the buffer, possibly changing application behaviour or causing the application to crash. The location of the buffer is application dependent but is typically heap allocated. Fixed in OpenSSL 1.1.1l (Affected 1.1.1-1.1.1k). |
Original Source
Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3711 |
CWE : Common Weakness Enumeration
% | Id | Name |
---|---|---|
100 % | CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') (CWE/SANS Top 25) |
CPE : Common Platform Enumeration
Sources (Detail)
Alert History
Date | Informations |
---|---|
2024-08-02 13:27:15 |
|
2024-08-02 01:26:08 |
|
2024-06-22 00:27:43 |
|
2024-02-02 02:27:24 |
|
2024-02-01 12:24:22 |
|
2023-11-07 21:34:17 |
|
2023-09-05 13:21:42 |
|
2023-09-05 01:23:53 |
|
2023-09-02 13:20:12 |
|
2023-09-02 01:24:15 |
|
2023-08-12 13:26:17 |
|
2023-08-12 01:23:29 |
|
2023-08-11 13:18:33 |
|
2023-08-11 01:24:15 |
|
2023-08-09 02:07:45 |
|
2023-08-06 13:16:30 |
|
2023-08-06 01:23:13 |
|
2023-08-04 13:16:52 |
|
2023-08-04 01:23:34 |
|
2023-07-14 13:16:56 |
|
2023-07-14 01:23:22 |
|
2023-03-29 02:19:03 |
|
2023-03-28 12:23:35 |
|
2023-02-08 02:07:58 |
|
2022-12-07 00:27:35 |
|
2022-11-08 01:58:29 |
|
2022-10-16 21:27:21 |
|
2022-10-11 13:08:37 |
|
2022-10-11 01:23:01 |
|
2022-09-23 21:27:34 |
|
2022-09-07 13:27:34 |
|
2022-05-13 17:27:28 |
|
2022-05-11 00:23:06 |
|
2022-05-10 01:59:05 |
|
2022-04-20 09:23:14 |
|
2022-04-01 00:23:12 |
|
2022-03-10 21:23:22 |
|
2022-02-21 01:55:26 |
|
2022-02-15 00:23:13 |
|
2022-02-14 21:22:33 |
|
2022-02-07 21:23:14 |
|
2022-02-03 12:54:40 |
|
2022-01-06 13:23:01 |
|
2021-12-03 00:23:06 |
|
2021-10-23 00:23:13 |
|
2021-10-20 17:23:10 |
|
2021-09-23 00:23:11 |
|
2021-08-31 21:23:13 |
|
2021-08-27 13:22:55 |
|
2021-08-26 21:23:11 |
|
2021-08-26 13:22:49 |
|
2021-08-25 17:22:48 |
|
2021-08-25 05:22:51 |
|
2021-08-24 21:23:11 |
|