CVE-2021-32062Osgeo Mapserver
Medium 5.3 No auth needed
Follow: this CVE · Osgeo · Osgeo Mapserver We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- May 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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).
What to do
- Apply the vendor's security update for Mapserver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | mapserver | < 7.0.8 |
| osgeo | mapserver | ≥ 7.1.0 < 7.2.3 |
| osgeo | mapserver | ≥ 7.3.0 < 7.4.5 |
| osgeo | mapserver | ≥ 7.5.0 < 7.6.3 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- lists.fedoraproject.org
- lists.fedoraproject.org
- mapserver.org Release Notes Vendor Advisory
- mapserver.org Release Notes Vendor Advisory
- mapserver.org Release Notes Vendor Advisory
- mapserver.org Release Notes Vendor Advisory