Channel and Path Errors Affecting lxc package, versions <2.1.1-r9


Severity

Recommended
0.0
low
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (36th 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-ALPINE316-LXC-2842991
  • published10 Aug 2018
  • disclosed10 Aug 2018

Introduced: 10 Aug 2018

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

How to fix?

Upgrade Alpine:3.16 lxc to version 2.1.1-r9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream lxc package and not the lxc package as distributed by Alpine. See How to fix? for Alpine:3.16 relevant fixed versions and status.

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.