• 公告ID (KylinSec-SA-2025-2303)

摘要:

A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.

安全等级: Low

公告ID: KylinSec-SA-2025-2303

发布日期: 2025年4月20日

关联CVE: CVE-2023-39326  

  • 详细介绍

1. 漏洞描述

   

恶意HTTP发送方可以利用分块扩展(chunk extensions),导致接收方在读取请求或响应主体时,从网络读取比实际主体内容更多的字节。恶意HTTP客户端可以进一步利用这一点,当处理器未能读取整个请求主体时,导致服务器自动读取大量数据(最多约1GiB)。

分块扩展是HTTP中一个较少使用的功能,它允许在使用分块编码发送的请求或响应主体中包含额外的元数据。net/http的分块编码读取器会丢弃这些元数据。发送方可以通过在每个传输的字节中插入大量元数据段来利用这一点。

现在,如果实际主体与编码字节的比例变得过小,分块读取器会产生一个错误。

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-39326 KY3.4-5A podman Unaffected
CVE-2023-39326 V6 podman Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2025-2302 下一篇:KylinSec-SA-2025-2304