{"schemaVersion":3,"id":"CVE-2021-32062","aliases":["UBUNTU-CVE-2021-32062","DEBIAN-CVE-2021-32062"],"status":"published","duplicateOf":null,"title":null,"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).","dates":{"published":"2021-05-05T18:39:41.000Z","modified":"2024-08-03T23:17:28.686Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01507,"percentile":0.74006,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01507},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01507,"percentile":0.74006}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01507,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01507,"percentile":0.74006}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mapserver","purlType":"deb","versions":[{"text":"< 7.6.2-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.6.2-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mapserver","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"osgeo","product":"mapserver","name":"mapserver","label":"mapserver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.0.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.1.0, < 7.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.3.0, < 7.4.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.5.0, < 7.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.8 | ≥ 7.1.0, < 7.2.3 | ≥ 7.3.0, < 7.4.5 | ≥ 7.5.0, < 7.6.3","eol":null,"hubHref":"/vendor/osgeo/mapserver"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://mapserver.org/development/changelog/changelog-7-6.html","label":"mapserver.org/development/changelog/changelog-7-6.html","hostname":"mapserver.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://mapserver.org/development/changelog/changelog-7-4.html","label":"mapserver.org/development/changelog/changelog-7-4.html","hostname":"mapserver.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://mapserver.org/development/changelog/changelog-7-2.html","label":"mapserver.org/development/changelog/changelog-7-2.html","hostname":"mapserver.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://mapserver.org/development/changelog/changelog-7-0.html","label":"mapserver.org/development/changelog/changelog-7-0.html","hostname":"mapserver.org","tags":["X Refsource MISC","REPORT","Release Notes","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNORAZCJ7AIPJFUY6WGLYIA3QVPWFXFY/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NYVWUC4EOW5WZAZGPLRTZS5QXNUEBPQ5/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://ubuntu.com/security/CVE-2021-32062","label":"ubuntu.com/security/CVE-2021-32062","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/mapserver/mapserver/issues/6313","label":"github.com/mapserver/mapserver/issues/6313","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/MapServer/MapServer/pull/6314","label":"github.com/MapServer/MapServer/pull/6314","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/mapserver/mapserver/commit/927ac97cb9ece305306b5ab2b5600d3afe8c1732","label":"github.com/mapserver/mapserver/commit/927ac97cb9ece305306b5ab2b5600d3afe8c1732","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/mapserver/mapserver/commit/7db7cbb26b6bc6e651db268e9536836a56e6825a","label":"github.com/mapserver/mapserver/commit/7db7cbb26b6bc6e651db268e9536836a56e6825a","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/mapserver/mapserver/commit/82a3eb5f6c8f75cedd095b909cc4990f3d8a99e1","label":"github.com/mapserver/mapserver/commit/82a3eb5f6c8f75cedd095b909cc4990f3d8a99e1","hostname":"github.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32062","label":"www.cve.org/CVERecord?id=CVE-2021-32062","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32062","label":"security-tracker.debian.org/tracker/CVE-2021-32062","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4506-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-05-05T18:39:41.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:17:28.686Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:11:51.197Z","stale":false,"partial":false}}