cve/2023/CVE-2023-39326.md

18 lines
1.3 KiB
Markdown
Raw Normal View History

2024-06-07 04:52:01 +00:00
### [CVE-2023-39326](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39326)
![](https://img.shields.io/static/v1?label=Product&message=net%2Fhttp%2Finternal&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=0%3C%201.20.12%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-400%3A%20Uncontrolled%20Resource%20Consumption&color=brighgreen)
### Description
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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/testing-felickz/docker-scout-demo