OS Command Injection Affecting container-tools:1.0/oci-systemd-hook package, versions <1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.38% (73rd 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 OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX8-CONTAINERTOOLS-5628423
  • published28 May 2023
  • disclosed7 May 2019

Introduced: 7 May 2019

CVE-2019-5736  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 container-tools:1.0/oci-systemd-hook to version 1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43 or higher.
This issue was patched in ALSA-2019:0975.

NVD Description

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

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

References

CVSS Scores

version 3.1