Symlink Following Affecting runc package, versions <4:1.2.5-2.module+el8.10.0+2095+5cd7f3af


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.01% (3rd 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-RUNC-14150082
  • published29 Nov 2025
  • disclosed6 Nov 2025

Introduced: 6 Nov 2025

NewCVE-2025-31133  (opens in a new tab)
CWE-61  (opens in a new tab)
CWE-363  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 runc to version 4:1.2.5-2.module+el8.10.0+2095+5cd7f3af or higher.
This issue was patched in RLSA-2025:21232.

NVD Description

Note: Versions mentioned in the description apply only to the upstream runc package and not the runc package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack: an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.

CVSS Base Scores

version 3.1