CVE-2009-0840Improper Restriction of Operations within the Bounds of a Memory Buffer in Mapserver

Severity
10.0CRITICALNVD
EPSS
2.7%
top 14.06%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 31
Latest updateMay 2

Description

Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows remote attackers to have an unknown impact via a negative value in the Content-Length HTTP header.

CVSS vector

AV:N/AC:L/C:C/I:C/A:CExploitability: 10.0 | Impact: 10.0

Affected Packages4 packages

debiandebian/mapserver< mapserver 5.4.2-1 (bookworm)
Debianosgeo/mapserver< 5.4.2-1+3
NVDumn/mapserver4.0
NVDosgeo/mapserver14 versions+13

Patches

🔴Vulnerability Details

4
GHSA
GHSA-53rh-gvx6-42x8: Heap-based buffer underflow in the readPostBody function in cgiutil2022-05-02
GHSA
GHSA-6726-5cj2-9h6f: Multiple heap-based buffer underflows in the readPostBody function in cgiutil2022-05-02
OSV
CVE-2009-2281: Multiple heap-based buffer underflows in the readPostBody function in cgiutil2009-10-23
OSV
CVE-2009-0840: Heap-based buffer underflow in the readPostBody function in cgiutil2009-03-31

📋Vendor Advisories

10
Debian
CVE-2009-2281: mapserver - Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c ...2009
Debian
CVE-2009-0840: mapserver - Heap-based buffer underflow in the readPostBody function in cgiutil.c in mapserv...2009
Red Hat
mapserver: multiple security fixes in 5.2.2 and 4.10.4 (CVE-2009-0839, CVE-2009-0840, CVE-2009-0841, CVE-2009-0842, CVE-2009-0843, CVE-2009-1176, CVE-2009-1177)
Red Hat
mapserver: multiple security fixes in 5.2.2 and 4.10.4 (CVE-2009-0839, CVE-2009-0840, CVE-2009-0841, CVE-2009-0842, CVE-2009-0843, CVE-2009-1176, CVE-2009-1177)
Red Hat
mapserver: multiple security fixes in 5.2.2 and 4.10.4 (CVE-2009-0839, CVE-2009-0840, CVE-2009-0841, CVE-2009-0842, CVE-2009-0843, CVE-2009-1176, CVE-2009-1177)

💬Community

2
Bugzilla
CVE-2009-2281 mapserver: incomplete upstream fix for CVE-2009-08402009-07-03
Bugzilla
mapserver: multiple security fixes in 5.2.2 and 4.10.4 (CVE-2009-0839, CVE-2009-0840, CVE-2009-0841, CVE-2009-0842, CVE-2009-0843, CVE-2009-1176, CVE-2009-1177)2009-04-01
CVE-2009-0840 — Debian Mapserver vulnerability | cvebase