CVE-2017-5985 Missing authorization in n/a

Low 3.3 Published Updated

Local users with lxc-usernet allocation can create host network interfaces and choose their names due to missing namespace ownership checks.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-5985?

CVE-2017-5985 is a low-severity missing authorization vulnerability in n/a, published on 14 Mar 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

lxc-user-nic in Linux Containers (LXC) allows local users with a lxc-usernet allocation to create network interfaces on the host and choose the name of those interfaces by leveraging lack of netns ownership check.

Weakness: CWE-862

Which versions are affected by CVE-2017-5985?

It affects 1 product.

Products include Linuxcontainers Lxc.

How do I fix CVE-2017-5985?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2017-5985 being exploited?

There is no known exploitation of CVE-2017-5985 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2017-5985, GHSA-wxh2-mqg8-qff6, UBUNTU-CVE-2017-5985, USN-3224-1.

Is CVE-2017-5985 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free