Race Condition Enabling Link Following Affecting libcgroups package, versions <0.5.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th 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-RUST-LIBCGROUPS-13843520
  • published7 Nov 2025
  • disclosed5 Nov 2025
  • creditLei Wang, lfbzhm

Introduced: 5 Nov 2025

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

How to fix?

Upgrade libcgroups to version 0.5.7 or higher.

Overview

libcgroups is a libcgroups

Affected versions of this package are vulnerable to Race Condition Enabling Link Following via insufficient validation of the source /dev/null during the bind mounting process. An attacker can escape the container environment by exploiting a race condition in the mounting of masked paths.

Note:

This vulnerability has a similar logic to CVE-2025-31133 in runc

References

CVSS Base Scores

version 4.0
version 3.1