Allocation of Resources Without Limits or Throttling Affecting buildah package, versions <2:1.33.6-2.module+el8.10.0+21371+46937ece
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-CENTOS8-BUILDAH-3041348
- published 7 Oct 2022
- disclosed 4 Oct 2022
Introduced: 4 Oct 2022
CVE-2022-2879 Open this link in a new tabHow to fix?
Upgrade Centos:8
buildah
to version 2:1.33.6-2.module+el8.10.0+21371+46937ece or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream buildah
package and not the buildah
package as distributed by Centos
.
See How to fix?
for Centos:8
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2022-2879
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/THKJHFMX4DAZXJ5MFPN3BNHZDN7BW5RI/
- https://go.dev/cl/439355
- https://go.dev/issue/54853
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://pkg.go.dev/vuln/GO-2022-1037
- https://security.gentoo.org/glsa/202311-09