# 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 enfo…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.51%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-05-05T18:39:41.000Z
- Modified: 2026-06-17T03:52:44.247Z
- Weaknesses: CWE-22
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- osgeo mapserver: before 7.0.8; from 7.1.0 before 7.2.3; from 7.3.0 before 7.4.5; from 7.5.0 before 7.6.3
- fedoraproject fedora: 33; 34

## Every score

- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://mapserver.org/development/changelog/changelog-7-6.html> (release-notes, vendor-advisory)
- <https://mapserver.org/development/changelog/changelog-7-4.html> (release-notes, vendor-advisory)
- <https://mapserver.org/development/changelog/changelog-7-2.html> (release-notes, vendor-advisory)
- <https://mapserver.org/development/changelog/changelog-7-0.html> (release-notes, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNORAZCJ7AIPJFUY6WGLYIA3QVPWFXFY/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYVWUC4EOW5WZAZGPLRTZS5QXNUEBPQ5/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-32062](https://www.cve.org/CVERecord?id=CVE-2021-32062), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32062](https://nvd.nist.gov/vuln/detail/CVE-2021-32062), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32062 · Whole record: https://cve.day/CVE-2021-32062.json · Rebuilt by cve.day 2026-11-25T22:58:01.177Z
