CVE-2018-17955 Static tempfile name allows overwriting of arbitrary files

Low 2.2 Published Updated

Local attackers can overwrite arbitrary files due to a static temporary filename in the SUSE YaST multipath configuration tool.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-17955?

CVE-2018-17955 is a low-severity path traversal vulnerability in SUSE yast2-multipath, published on 15 Mar 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

In yast2-multipath before version 4.1.1 a static temporary filename allows local attackers to overwrite files on systems without symlink protection

Weakness: CWE-59, CWE-377

Which versions are affected by CVE-2018-17955?

It affects 1 product.

Linux distribution packages (5)
yast2-multipath SUSE:Linux Enterprise High Availability Extension 12 SP2All versions3.1.9-12.3.45
yast2-multipath SUSE:Linux Enterprise High Availability Extension 12 SP3All versions3.2.2-3.3.30
yast2-multipath SUSE:Linux Enterprise High Availability Extension 12 SP4All versions3.2.2-3.3.30
yast2-multipath SUSE:Linux Enterprise High Availability Extension 12 SP5All versions3.2.2-3.3.30
yast2-multipath openSUSE:TumbleweedAll versions4.4.1-1.2

Products include Opensuse Yast2-Multipath.

How do I fix CVE-2018-17955?

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-2018-17955 being exploited?

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

Sources

Also known as GHSA-pc25-pjvp-q59p, SUSE-SU-2020:3231-1, SUSE-SU-2021:0182-1, openSUSE-SU-2024:11533-1.

Is CVE-2018-17955 in your software?

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

Check your SBOMs for free