Skip to content
Heist/ feed
Back to feed
MediumFix available

mapserver — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-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).

Products
mapserver
Affected versions
Not specified
Fixed versions
7.6.2-2
CVEs
CVE-2021-32062
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:42 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-32062

core-osv · Original source

Published 6 May 2021, 13:15 UTC

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

osv:DEBIAN-CVE-2021-32062

mapserver

Fixed versions: 7.6.2-2

mapserver

Fixed versions: 7.6.2-2

mapserver

Fixed versions: 7.6.2-2

Complete source record
{
  "id": "9368964b9ef3c659b60f8a834c56dfcb1fba1cbd22a72dd958ac90714e8c7584",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-32062",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-32062",
    "summary": "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).",
    "evidence": "osv:DEBIAN-CVE-2021-32062",
    "products": [
      {
        "name": {
          "value": "mapserver",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.6.2-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "mapserver",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.6.2-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "mapserver",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.6.2-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-32062",
      "aliases": [
        "DEBIAN-CVE-2021-32062"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.6.2-2"
                }
              ]
            }
          ],
          "package": {
            "name": "mapserver",
            "purl": "pkg:deb/debian/mapserver?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32062.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.6.2-2"
                }
              ]
            }
          ],
          "package": {
            "name": "mapserver",
            "purl": "pkg:deb/debian/mapserver?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32062.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7.6.2-2"
                }
              ]
            }
          ],
          "package": {
            "name": "mapserver",
            "purl": "pkg:deb/debian/mapserver?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-32062.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:37.442471474Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-32062"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-32062"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-32062",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422033,
  "published_at": "2021-05-06T13:15:12.723+00:00"
}