Allocation of Resources Without Limits or Throttling Affecting container-selinux package, versions <2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

Social Trends
EPSS
1.6% (74th percentile)

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 IDSNYK-ROCKY8-CONTAINERSELINUX-10070444
  • published8 May 2025
  • disclosed14 Oct 2022

Introduced: 14 Oct 2022

CVE-2022-2879  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 container-selinux to version 2:2.229.0-2.module+el8.10.0+1948+4b5cd4a9 or higher.
This issue was patched in RLSA-2024:2988.

NVD Description

Note: Versions mentioned in the description apply only to the upstream container-selinux package and not the container-selinux package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux: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.

CVSS Base Scores

version 3.1