Reader.Read does not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. After fix, Reader.Read limits the maximum size of header blocks to 1 MiB.
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Link | Tags |
---|---|
https://go.dev/issue/54853 | third party advisory issue tracking |
https://go.dev/cl/439355 | patch |
https://groups.google.com/g/golang-announce/c/xtuG5faxtaU | release notes mailing list |
https://pkg.go.dev/vuln/GO-2022-1037 | vendor advisory |
https://security.gentoo.org/glsa/202311-09 |