Bug 1607300 (CVE-2018-10945)

Summary: CVE-2018-10945 mongoose: Heap buffer over-read in mg_handle_cgi function in mongoose.c allows an application crash
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aquini, ffotorel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:33:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1607301, 1607302    
Bug Blocks:    

Description Andrej Nemec 2018-07-23 08:48:57 UTC
The mg_handle_cgi function in mongoose.c in Mongoose 6.11 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash, or NULL pointer dereference) via an HTTP request, related to the mbuf_insert function.

References:

http://blog.hac425.top/2018/05/16/CVE-2018-10945-mongoose.html

Comment 1 Andrej Nemec 2018-07-23 08:49:24 UTC
Created mongoose tracking bugs for this issue:

Affects: epel-6 [bug 1607302]
Affects: fedora-all [bug 1607301]

Comment 2 Andrej Nemec 2018-07-23 08:50:10 UTC
Upstream issue:

https://github.com/cesanta/mongoose/issues/917

Comment 3 Product Security DevOps Team 2019-06-10 10:33:55 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.