Bug 1709758 (CVE-2019-10053)

Summary: CVE-2019-10053 suricata: heap-based buffer over-read in function SSHParseBanner
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:31 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: 1709759, 1709760    
Bug Blocks:    

Description Dhananjay Arunesh 2019-05-14 09:28:43 UTC
An issue was discovered in Suricata 4.1.x before 4.1.4. If the input of the function SSHParseBanner is composed only of a \n character, then the program runs into a heap-based buffer over-read. This occurs because the erroneous search for \r results in an integer underflow.

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

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

Affects: fedora-all [bug 1709759]

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

Affects: epel-7 [bug 1709760]

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