CVE-2022-2879 Unbounded memory consumption when reading headers in archive/tar
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Go standard library
archive/tar
영향 받는 버전
- 1.18.7 미만
- 1.19.0-0 이상 1.19.2 미만
해결 버전
- 1.18.7 이상
- 1.19.2 이상