Resource Exhaustion Affecting golang package, versions <0:1.20.12-1.el9_3
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS9-GOLANG-6102927
- published 7 Dec 2023
- disclosed 6 Dec 2023
Introduced: 6 Dec 2023
CVE-2023-39326 Open this link in a new tabHow to fix?
Upgrade Centos:9
golang
to version 0:1.20.12-1.el9_3 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream golang
package and not the golang
package as distributed by Centos
.
See How to fix?
for Centos:9
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2023-39326
- https://go.dev/cl/547335
- https://go.dev/issue/64433
- https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ
- https://pkg.go.dev/vuln/GO-2023-2382
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/