CVE-2017-9079 Path traversal in n/a

Medium 4.7 Published Updated

Local attackers can read arbitrary files as root via symlink following in authorized_keys, leading to information disclosure and potential privilege escalation.

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-9079?

CVE-2017-9079 is a medium-severity path traversal vulnerability in Debian Debian Linux, published on 19 May 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Dropbear before 2017.75 might allow local users to read certain files as root, if the file has the authorized_keys file format with a command= option. This occurs because ~/.ssh/authorized_keys is read with root privileges and symlinks are followed.

Weakness: CWE-732

Which versions are affected by CVE-2017-9079?

It affects 2 products.

Products include Debian Debian Linux, Dropbear Ssh Project Dropbear Ssh.

How do I fix CVE-2017-9079?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2017-9079 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2017-9079, DEBIAN-CVE-2017-9079, DLA-948-1, GHSA-j5rr-cpp9-c4r6, UBUNTU-CVE-2017-9079.

Is CVE-2017-9079 in your software?

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

Check your SBOMs for free