ubuntu-cve-2021-32062
Vulnerability from osv_ubuntu
Published
2021-05-06 13:15
Modified
2026-05-20 14:53
Summary
Details

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


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.0-9ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.0-9ubuntu3.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.0-4build1",
        "7.0.0-5ubuntu1",
        "7.0.0-7",
        "7.0.0-8",
        "7.0.0-8build1",
        "7.0.0-9",
        "7.0.0-9ubuntu1",
        "7.0.0-9ubuntu2",
        "7.0.0-9ubuntu3",
        "7.0.0-9ubuntu3.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "python-mapscript",
            "binary_version": "7.0.7-1build2"
          },
          {
            "binary_name": "ruby-mapscript",
            "binary_version": "7.0.7-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.0.7-1build2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.6-2build1",
        "7.0.7-1",
        "7.0.7-1build1",
        "7.0.7-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "7.4.3-2build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.4.3-2build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.4.3-2build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.4.1-1build1",
        "7.4.1-1build3",
        "7.4.2-1",
        "7.4.2-1build1",
        "7.4.3-1",
        "7.4.3-1build2",
        "7.4.3-2",
        "7.4.3-2build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "libmapserver2",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "7.6.4-2build2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "7.6.4-2build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@7.6.4-2build2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.6.3-1~exp1ubuntu1",
        "7.6.4-2",
        "7.6.4-2build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.0.1-4ubuntu2"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.0.1-4ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.0.1-4ubuntu2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.0.1-2build1",
        "8.0.1-2build2",
        "8.0.1-2build3",
        "8.0.1-2build5",
        "8.0.1-4ubuntu1",
        "8.0.1-4ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.4.0-4build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.4.0-4build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.4.0-4build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.0-1build1",
        "8.4.0-4",
        "8.4.0-4build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "cgi-mapserver",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-java",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapscript-perl",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "libmapserver2t64",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "mapserver-bin",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "php-mapscript-ng",
            "binary_version": "8.6.0-1build1"
          },
          {
            "binary_name": "python3-mapscript",
            "binary_version": "8.6.0-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "mapserver",
        "purl": "pkg:deb/ubuntu/mapserver@8.6.0-1build1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.4.0-4build1",
        "8.4.1-1",
        "8.4.1-1build1",
        "8.4.1-2",
        "8.4.1-2build1",
        "8.6.0-1",
        "8.6.0-1build1"
      ]
    }
  ],
  "aliases": [],
  "details": "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).",
  "id": "UBUNTU-CVE-2021-32062",
  "modified": "2026-05-20T14:53:19Z",
  "published": "2021-05-06T13:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-32062"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mapserver/mapserver/issues/6313"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/MapServer/MapServer/pull/6314"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mapserver/mapserver/commit/927ac97cb9ece305306b5ab2b5600d3afe8c1732"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mapserver/mapserver/commit/7db7cbb26b6bc6e651db268e9536836a56e6825a"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mapserver/mapserver/commit/82a3eb5f6c8f75cedd095b909cc4990f3d8a99e1"
    },
    {
      "type": "REPORT",
      "url": "https://mapserver.org/development/changelog/changelog-7-6.html"
    },
    {
      "type": "REPORT",
      "url": "https://mapserver.org/development/changelog/changelog-7-0.html"
    },
    {
      "type": "REPORT",
      "url": "https://mapserver.org/development/changelog/changelog-7-4.html"
    },
    {
      "type": "REPORT",
      "url": "https://mapserver.org/development/changelog/changelog-7-2.html"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-32062"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-32062"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…