中危 netty-handler SniHandler 16MB 分配 (CVE-2023-34462)

CVE编号

CVE-2023-34462

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-06-23
漏洞描述
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients. The `SniHandler` can allocate up to 16MB of heap for each channel during the TLS handshake. When the handler or the channel does not have an idle timeout, it can be used to make a TCP server using the `SniHandler` to allocate 16MB of heap. The `SniHandler` class is a handler that waits for the TLS handshake to configure a `SslHandler` according to the indicated server name by the `ClientHello` record. For this matter it allocates a `ByteBuf` using the value defined in the `ClientHello` record. Normally the value of the packet should be smaller than the handshake packet but there are not checks done here and the way the code is written, it is possible to craft a packet that makes the `SslClientHelloHandler`. This vulnerability has been fixed in version 4.1.94.Final.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 netty netty * Up to
(excluding)
4.1.94
运行在以下环境
系统 debian_10 netty * Up to
(excluding)
4.1.33-1+deb10u4
运行在以下环境
系统 debian_11 netty * Up to
(excluding)
4.1.48-4+deb11u2
运行在以下环境
系统 debian_12 netty * Up to
(excluding)
4.1.48-7+deb12u1
运行在以下环境
系统 opensuse_Leap_15.4 netty * Up to
(excluding)
2.0.61-150200.3.13.1
运行在以下环境
系统 opensuse_Leap_15.5 netty * Up to
(excluding)
2.0.61-150200.3.13.1
阿里云评分
6.1
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-400 未加控制的资源消耗(资源穷尽)
CWE-770 不加限制或调节的资源分配
阿里云安全产品覆盖情况