CVE-2009-2281

MapServer 4.x-4.10.4 and 5.x < 5.4.2 - Remote Code Execution via Crafted Content-Length Header

Title source: llm
STIX 2.1

Description

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.

References (7)

Core 7

Scores

EPSS 0.0595
EPSS Percentile 92.4%

Details

CWE
CWE-119
Status published
Products (14)
osgeo/mapserver 4.2.0 beta1
osgeo/mapserver 4.4.0 (4 CPE variants)
osgeo/mapserver 4.6.0 (5 CPE variants)
osgeo/mapserver 4.8.0 beta1 (5 CPE variants)
osgeo/mapserver 4.10.0 (5 CPE variants)
osgeo/mapserver 4.10.1
osgeo/mapserver 4.10.2
osgeo/mapserver 4.10.3
osgeo/mapserver 4.10.4
osgeo/mapserver 5.0.0 (9 CPE variants)
... and 4 more
Published Oct 23, 2009
Tracked Since Feb 18, 2026