Skip to content
OpenAdvisories
Unscored CVE-2009-2281 EUVD-2009-2277GHSA-6726-5cj2-9h6f

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…

Published Oct 23, 2009 · Updated Sep 16, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mapserver 5.4.2-1 —
Debian 13 mapserver 5.4.2-1 —
Debian 12 mapserver 5.4.2-1 —
Debian 5.0 mapserver 5.0.3-3+lenny4 DSA-1914-1
Debian 4.0 mapserver 4.10.0-5.1+etch4 DSA-1914-1

Advisories 1

References