Bug 1234887 (CVE-2015-4646)

Summary: CVE-2015-4646 squashfs-tools: stack overflow in read_fragment_table_4 due to fix for CVE-2015-4645
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bruno, carnil, jarod, jrusnack, peterm, tcallawa
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-09 21:01:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1234888    
Bug Blocks: 1234889    

Description Vasyl Kaigorodov 2015-06-23 12:57:53 UTC
After applying CVE-2015-4645 fix, squashfs-tools become vulnerable to stack overflow issue - the stack VLA allocation of fragment_table_index[] can easily exceed RLIMIT_STACK.

Upstream bug report: https://github.com/devttys0/sasquatch/pull/5
Upstream fix: https://github.com/gcanalesb/sasquatch/commit/6777e08cc38bc780d27c69c1d8c272867b74524f

Comment 1 Vasyl Kaigorodov 2015-06-23 12:58:33 UTC
Created squashfs-tools tracking bugs for this issue:

Affects: fedora-all [bug 1234888]