Path Traversal in Osgeo Mapserver
CVE-2021-32062
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).
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.015, 74.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Osgeo Mapserver
- Fedoraproject Fedora — versions 33, 34
Weakness classification (CWE)
References
- mapserver.org/development/changelog/changelog-7-6.html (Release Notes, Vendor Advisory)
- mapserver.org/development/changelog/changelog-7-4.html (Release Notes, Vendor Advisory)
- mapserver.org/development/changelog/changelog-7-2.html (Release Notes, Vendor Advisory)
- mapserver.org/development/changelog/changelog-7-0.html (Release Notes, Vendor Advisory)
- FEDORA-2021-74dadee887 (vendor-advisory)
- FEDORA-2021-faab70f09a (vendor-advisory)