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
CVE-2021-32062 is a medium-severity flaw (CVSS 5.3) affecting mapserver, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.5% (top 26%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2021-05-06 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-32062?
mapserver: upgrade to 7.0.8, 7.2.3, 7.4.5, 7.6.3; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-32062 being exploited?
CVE-2021-32062 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-32062 affect?
CVE-2021-32062 affects mapserver, fedora. Severity is medium (CVSS 5.3). 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 fro
How urgent is CVE-2021-32062?
Priority 42/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-59431 CRITICAL 9.8 DOWNGRADE MapServer is a system for developing web-based GIS applications
- CVE-2026-45104 HIGH 7.5 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2026-42030 MEDIUM 6.1 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2026-33721 MEDIUM 5.3 UPGRADE MapServer is a system for developing web-based GIS applications
- CVE-2017-5522 CRITICAL 9.8 MITIGATE UPGRADE Stack-based buffer overflow in MapServer before 6.0.6, 6.2.x before 6.2.4, 6.4.x before 6.4.5, and 7.0.x befor