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.
Allocation of Resources Without Limits or Throttling
3.9
-
-
3.9
-
-
-
-
-
-
-
-
-
-
-
-
BIT-2022-2879
-
BIT-golang-2022-2879
-
2.8
-
-
3.9
-
-
-
-
-
-
-