CVE-2021-32062 Path traversal in n/a

Medium 5.3 Published Updated

Attackers can bypass path restrictions to load arbitrary mapfiles, potentially exposing sensitive data or configuration details.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32062?

CVE-2021-32062 is a medium-severity path traversal vulnerability in Fedoraproject Fedora, published on 5 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

MapServer before 7.0.8, 7.1.x and 7.2.x before 7.2.3, 7.3.x and 7.4.x before 7.4.5, and 7.5.x and 7.6.x before 7.6.3 does not properly enforce the MS_MAP_NO_PATH and MS_MAP_PATTERN restrictions that are intended to control the locations from which a mapfile may be loaded (with MapServer CGI).

Weakness: CWE-22

Which versions are affected by CVE-2021-32062?

It affects 2 products.

Products include Fedoraproject Fedora, Osgeo Mapserver.

How do I fix CVE-2021-32062?

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-2021-32062 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-32062, GHSA-2cph-rvmj-cx7r, UBUNTU-CVE-2021-32062.

Is CVE-2021-32062 in your software?

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

Check your SBOMs for free