Exposure of Resource to Wrong Sphere Affecting container-tools:rhel8/containernetworking-plugins package, versions <1:1.3.0-8.module_el8.9.0+3717+81096349


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
5.06% (94th 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 Learn

Learn about Exposure of Resource to Wrong Sphere vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-CONTAINERTOOLS-6243060
  • published12 Feb 2024
  • disclosed2 Feb 2024

Introduced: 2 Feb 2024

CVE-2024-21626  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 container-tools:rhel8/containernetworking-plugins to version 1:1.3.0-8.module_el8.9.0+3717+81096349 or higher.
This issue was patched in ALSA-2024:0752.

NVD Description

Note: Versions mentioned in the description apply only to the upstream container-tools:rhel8/containernetworking-plugins package and not the container-tools:rhel8/containernetworking-plugins package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

CVSS Scores

version 3.1