Bug 1930175 (CVE-2021-3402)

Summary: CVE-2021-3402 libyara: Integer overflow in libyara/modules/macho/macho.c via a malicious Mach-O file
Product: [Other] Security Response Reporter: Michael Kaplan <mkaplan>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rebus
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libyara 4.0.4 Doc Type: If docs needed, set a value
Doc Text:
An integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-18 19:03:11 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: 1930176, 1930177    
Bug Blocks: 1926266    

Description Michael Kaplan 2021-02-18 13:07:31 UTC
Integer overflow in libyara/modules/macho/macho.c in yara v4.0.2 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file.

Comment 1 Michael Kaplan 2021-02-18 13:07:34 UTC
Acknowledgments:

Name: Luis Merino (X41 D-SEC GmbH)

Comment 3 Michael Kaplan 2021-02-18 13:07:55 UTC
Created yara tracking bugs for this issue:

Affects: epel-all [bug 1930177]
Affects: fedora-all [bug 1930176]

Comment 5 Product Security DevOps Team 2021-02-18 19:03:11 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.