Bug 509559 - (CVE-2009-2281) CVE-2009-2281 mapserver: incomplete upstream fix for CVE-2009-0840
CVE-2009-2281 mapserver: incomplete upstream fix for CVE-2009-0840
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-03 10:21 EDT by Tomas Hoger
Modified: 2011-09-26 17:40 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-09-26 17:40:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tomas Hoger 2009-07-03 10:21:27 EDT
Nico Golde reported, that upstream fix for mapserver's security flaw CVE-2009-0840 is incomplete and does not correctly handle case when value of 0xffffffff is specified in Content-Length header.  During the memory allocation +1 is added to the user-specified content-length value.  Therefore malloc may be called with argument 0, typically resulting in small memory chuck to be allocated.

References:
http://thread.gmane.org/gmane.comp.security.oss.general/1861
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523027#14
Comment 1 Vincent Danen 2011-09-26 17:40:51 EDT
This flaw was fixed upstream in version 4.10.5, 5.2.3, and 5.4.2:

http://osgeo-org.1803224.n2.nabble.com/MapServer-5-4-2-released-also-5-2-3-and-4-10-5-td3315624.html

Current Fedora release is 5.6.7 and EPEL5 is 4.10.5, all of which contain the fix.

Note You need to log in before you can comment on or make changes to this bug.