CVE-2018-21269 Path traversal in n/a

Medium 5.5 Published Updated

Local attackers can exploit symlink handling in OpenRC to take ownership of arbitrary files, leading to 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-2018-21269?

CVE-2018-21269 is a medium-severity path traversal vulnerability in n/a, published on 27 Oct 2020. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

checkpath in OpenRC through 0.42.1 might allow local users to take ownership of arbitrary files because a non-terminal path component can be a symlink.

Weakness: CWE-59

Which versions are affected by CVE-2018-21269?

It affects 1 product.

Products include Openrc Project Openrc.

How do I fix CVE-2018-21269?

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-21269 being exploited?

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

Sources

Also known as ALPINE-CVE-2018-21269, DEBIAN-CVE-2018-21269, GHSA-ww6f-fx4x-qw8g.

Is CVE-2018-21269 in your software?

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

Check your SBOMs for free