中危 OpenSSL 双重释放漏洞(CVE-2022-4450)

CVE编号

CVE-2022-4450

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-02-07
漏洞描述
openssl中调用 PEM_read_bio_ex() 后存在双重释放漏洞。函数 PEM_read_bio_ex() 从 BIO 中读取 PEM 文件并解析和解码“名称”(例如“CERTIFICATE”)、任何标头数据和有效负载数据。如果函数成功,则“name_out”、“header”和“data”参数是填充有指向包含相关解码数据的缓冲区的指针。这
调用者负责释放这些缓冲区。可以构建一个产生 0 字节负载数据的 PEM 文件。在这种情况下 PEM_read_bio_ex()将返回失败代码,但会使用指针填充标头参数到一个已经被释放的缓冲区。如果调用者也释放了这个缓冲区然后会发生双重释放。这很可能会导致崩溃。这可能被有能力提供恶意 PEM 的攻击者利用文件进行解析以实现拒绝服务攻击。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 openssl openssl * From
(including)
1.1.1
Up to
(excluding)
1.1.1t
运行在以下环境
应用 openssl openssl * From
(including)
3.0.0
Up to
(excluding)
3.0.8
运行在以下环境
系统 alpine_3.14 openssl * Up to
(excluding)
1.1.1t-r0
运行在以下环境
系统 alpine_3.15 openssl * Up to
(excluding)
1.1.1t-r0
运行在以下环境
系统 alpine_3.16 openssl * Up to
(excluding)
1.1.1t-r0
运行在以下环境
系统 alpine_3.17 openssl * Up to
(excluding)
1.1.1t-r0
运行在以下环境
系统 alpine_edge openssl * Up to
(excluding)
1.1.1t-r0
运行在以下环境
系统 amazon_2 openssl * Up to
(excluding)
1.1.1g-12.amzn2.0.11
运行在以下环境
系统 debian_10 openssl * Up to
(including)
1.1.1n-0+deb10u3
运行在以下环境
系统 debian_11 openssl * Up to
(excluding)
1.1.1n-0+deb11u4
运行在以下环境
系统 debian_12 openssl * Up to
(including)
3.0.7-2
运行在以下环境
系统 suse_12_SP5 openssl * Up to
(excluding)
1.1.1d-2.75.1
运行在以下环境
系统 ubuntu_18.04 openssl * Up to
(excluding)
1.1.1-1ubuntu2.1~18.04.21
运行在以下环境
系统 ubuntu_20.04 openssl * Up to
(excluding)
1.1.1f-1ubuntu2.17
运行在以下环境
系统 ubuntu_22.04 openssl * Up to
(excluding)
3.0.2-0ubuntu1.8
运行在以下环境
系统 ubuntu_22.10 openssl * Up to
(excluding)
3.0.5-2ubuntu2.1
阿里云评分
5.7
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-415 双重释放
阿里云安全产品覆盖情况