Channel and Path Errors Affecting lxc package, versions [2.0.0,2.0.9][3.0.0,3.0.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (26th 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-UNMANAGED-LXC-2370749
  • published26 Jan 2022
  • disclosed10 Aug 2018
  • creditUnknown

Introduced: 10 Aug 2018

CVE-2018-6556  (opens in a new tab)
CWE-417  (opens in a new tab)

How to fix?

Upgrade lxc to version 3.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Channel and Path Errors lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path. This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Affected releases are LXC: 2.0 versions above and including 2.0.9; 3.0 versions above and including 3.0.0, prior to 3.0.2.

CVSS Base Scores

version 3.1