Bug 1158783 (CVE-2019-19648)

Summary: VUL-0: CVE-2019-19648: yara: In the macho_parse_file functionality in macho/macho.c, command_size may be inconsistent with the real size. A crafted MachO file can cause an out-of-bounds memory access, resulting in DoS or potential code execution
Product: [openSUSE] openSUSE Distribution Reporter: Wolfgang Frisch <wolfgang.frisch>
Component: SecurityAssignee: Greg Freemyer <Greg.Freemyer>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Minor    
Priority: P3 - Medium CC: atoptsoglou
Version: Leap 15.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/248574/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Wolfgang Frisch 2019-12-09 12:24:52 UTC
CVE-2019-19648

In the macho_parse_file functionality in macho/macho.c of YARA 3.11.0,
command_size may be inconsistent with the real size. A specially crafted MachO
file can cause an out-of-bounds memory access, resulting in Denial of Service
(application crash) or potential code execution.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-19648
https://github.com/VirusTotal/yara/issues/1178
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-19648