nday
CVE-2021-3711

SM2 Decryption Buffer Overflow

OpenSSL / OpenSSL

披露于 。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

buffer overflow / out-of-bounds write
CWE-120(来源:NVD 分析人员)
远程未授权
NVD 分析人员 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N、PR:N、UI:N
网络
NVD 分析人员 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需认证
NVD 分析人员 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 PR:N
无需用户交互
NVD 分析人员 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1)中的 UI:N
MySQL
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:mysql_connectors、a:oracle:mysql_enterprise_monitor、a:oracle:mysql_server
PeopleSoft
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:peoplesoft_enterprise_peopletools
JD Edwards
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:jd_edwards_enterpriseone_tools、a:oracle:jd_edwards_world_security
OpenSSL
CVE 记录列出的受影响产品:OpenSSL · OpenSSLNVD 分析人员标为易受攻击的 CPE 名称:a:openssl:openssl
数据库
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:mysql_connectors、a:oracle:mysql_enterprise_monitor、a:oracle:mysql_servernday 产品登记表中 MySQL 的产品类型
企业应用 ERP/CRM
NVD 分析人员标为易受攻击的 CPE 名称:a:oracle:jd_edwards_enterpriseone_tools、a:oracle:jd_edwards_world_security、a:oracle:peoplesoft_enterprise_peopletoolsnday 产品登记表中 JD Edwards、PeopleSoft 的产品类型
开源库/框架
CVE 记录列出的受影响产品:OpenSSL · OpenSSLNVD 分析人员标为易受攻击的 CPE 名称:a:openssl:opensslnday 产品登记表中 OpenSSL 的产品类型
当前阶段
DIS
披露
CVSS
暂无评分

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
2021-08-24T14:50Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

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).

以上是 CVE 记录(cvelist)中的原文,未经改写。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 openssl。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 233915,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-3711",
  "occurred_at": "2021-08-24T14:50:13.114Z",
  "observed_at": "2026-11-13T05:37:17.325681Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "ssvc": {
      "timestamp": "2026-10-08T20:59:50.338167Z",
      "automatable": "yes",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2021-08-24T14:50:13.114Z",
    "assigner_short_name": "openssl"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。