CVE-2015-3170 Denial of service in n/a

Medium 5.5 Published Updated

Local users can prevent SSH logins by creating a hardlink to /etc/passwd when protected hardlinks are disabled in SELinux policy.

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

What is CVE-2015-3170?

CVE-2015-3170 is a medium-severity denial of service vulnerability in n/a, published on 21 Jul 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

selinux-policy when sysctl fs.protected_hardlinks are set to 0 allows local users to cause a denial of service (SSH login prevention) by creating a hardlink to /etc/passwd from a directory named .config, and updating selinux-policy.

Weakness: CWE-254

Which versions are affected by CVE-2015-3170?

It affects 1 product.

Products include Selinux Project Selinux.

How do I fix CVE-2015-3170?

No fix has been published for CVE-2015-3170 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2015-3170 being exploited?

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

Sources

Also known as GHSA-m2mw-q7pj-g3wv.

Is CVE-2015-3170 in your software?

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

Check your SBOMs for free