Bug 1177254 (CVE-2014-9756)

Summary: libsndfile: division by zero leading to denial of service in psf_fwrite()
Product: [Other] Security Response Reporter: Vasyl Kaigorodov <vkaigoro>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andreas, jrusnack, mhlavink
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-09 17:16:18 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: 1178842, 1178843    
Bug Blocks: 1177255, 1277910    

Description Vasyl Kaigorodov 2014-12-25 12:22:09 UTC
A divide-by-zero may occur in libsndfile, resulting in an application crash.
Upstream commit that fixes this issue:
https://github.com/erikd/libsndfile/commit/725c7dbb95bfaf8b4bb7b04820e3a00cceea9ce6950933

Comment 1 Michal Hlavinka 2015-01-02 07:42:10 UTC
Is there any reproducer to test this?

Also the link above gives me 404 error.

Comment 2 Vasyl Kaigorodov 2015-01-05 09:26:12 UTC
(In reply to Michal Hlavinka from comment #1)
> Is there any reproducer to test this?

Unfortunately I'm not aware of any, here is the corresponding upstream bug report, hope it gives a clue:

https://github.com/erikd/libsndfile/issues/92

> Also the link above gives me 404 error.

Oops, something went wrong, the correct link is:
https://github.com/erikd/libsndfile/commit/725c7dbb95bfaf8b4bb7b04820e3a00cceea9ce6

Comment 3 Vasyl Kaigorodov 2015-01-05 14:35:11 UTC
Created libsndfile tracking bugs for this issue:

Affects: fedora-all [bug 1178842]
Affects: epel-5 [bug 1178843]

Comment 5 Fedora Update System 2015-01-20 21:00:25 UTC
libsndfile-1.0.25-9.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-01-21 23:06:29 UTC
libsndfile-1.0.25-14.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Stefan Cornelius 2015-11-06 12:03:05 UTC
*** Bug 1277941 has been marked as a duplicate of this bug. ***