Bug 1709766 (CVE-2019-10050)

Summary: CVE-2019-10050 suricata: buffer over-read in function DecodeMPLS in decode-mpls.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: athmanem, jmlich83, jtfas90, sgrubb
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Suricata 4.1.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:55:32 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: 1709767, 1709769    
Bug Blocks:    

Description Dhananjay Arunesh 2019-05-14 09:48:38 UTC
A buffer over-read issue was discovered in Suricata 4.1.x before 4.1.4. If the input of the decode-mpls.c function DecodeMPLS is composed only of a packet of source address and destination address plus the correct type field and the right number for shim, an attacker can manipulate the control flow, such that the condition to leave the loop is true. After leaving the loop, the network packet has a length of 2 bytes. There is no validation of this length. Later on, the code tries to read at an empty position, leading to a crash.

Reference:
https://suricata-ids.org/2019/04/30/suricata-4-1-4-released/

Comment 1 Dhananjay Arunesh 2019-05-14 09:49:10 UTC
Created suricata tracking bugs for this issue:

Affects: fedora-all [bug 1709767]

Comment 2 Dhananjay Arunesh 2019-05-14 09:50:55 UTC
Created suricata tracking bugs for this issue:

Affects: epel-7 [bug 1709769]

Comment 3 Product Security DevOps Team 2019-06-10 10:55:32 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.