Bug 1957872 (CVE-2021-32062)

Summary: CVE-2021-32062 mapserver: flaw in CGI mapfile loading that makes it possible to bypass security controls
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: manisandro, pavel.lisy
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-06 20:34:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1957873    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-05-06 16:55:03 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).

References:
https://mapserver.org/development/changelog/changelog-7-6.html
https://mapserver.org/development/changelog/changelog-7-0.html
https://mapserver.org/development/changelog/changelog-7-4.html
https://mapserver.org/development/changelog/changelog-7-2.html

Comment 1 Guilherme de Almeida Suckevicz 2021-05-06 16:55:42 UTC
Created mapserver tracking bugs for this issue:

Affects: fedora-all [bug 1957873]

Comment 2 Product Security DevOps Team 2021-05-06 20:34:19 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.