Out-of-Bounds Affecting mapserver package, versions [,5.4.2)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
11.5% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MAPSERVER-2370355
  • published26 Jan 2022
  • disclosed23 Oct 2009
  • creditUnknown

Introduced: 23 Oct 2009

CVE-2009-2281  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade mapserver to version 5.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.

CVSS Base Scores

version 3.1