Bug 1440756 (CVE-2017-7585)

Summary: CVE-2017-7585 libsndfile: Stack-based buffer overflow in flac_buffer_copy()
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, mhlavink, slawomir
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libsndfile 1.0.28 Doc Type: If docs needed, set a value
Doc Text:
A buffer overflow flaw was found in the way libsndfile handled FLAC files. This flaw could potentially be used to crash the application using libsndfile by tricking the application into processing specially crafted FLAC files.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-11 09:08:57 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: 1440760    
Bug Blocks: 1440764    

Description Adam Mariš 2017-04-10 12:31:11 UTC
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.

Upstream patch:

https://github.com/erikd/libsndfile/commit/60b234301adf258786d8b90be5c1d437fc8799e0

Comment 1 Adam Mariš 2017-04-10 12:37:35 UTC
Created libsndfile tracking bugs for this issue:

Affects: fedora-all [bug 1440760]