Bug 1574729 (CVE-2018-10539) - CVE-2018-10539 wavpack: out of bounds write in ParseDsdiffHeaderConfig in dsdiff.c
Summary: CVE-2018-10539 wavpack: out of bounds write in ParseDsdiffHeaderConfig in dsd...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-10539
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1574720 1574721 1574723 1574732
Blocks: 1574733
TreeView+ depends on / blocked
 
Reported: 2018-05-03 21:47 UTC by Laura Pardo
Modified: 2019-09-29 14:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-07-12 13:05:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-05-03 21:47:30 UTC
An issue was discovered in WavPack 5.1.0 and earlier for DSDiff input. Out-of-bounds writes can occur because ParseDsdiffHeaderConfig in dsdiff.c does not validate the sizes of unknown chunks before attempting memory allocation, related to a lack of integer-overflow protection within a bytes_to_copy calculation and subsequent malloc call, leading to insufficient memory allocation.

References:
https://github.com/dbry/WavPack/issues/33

Patch:
https://github.com/dbry/WavPack/commit/6f8bb34c2993a48ab9afbe353e6d0cff7c8d821d

Comment 1 Laura Pardo 2018-05-03 21:51:28 UTC
Created mingw-wavpack tracking bugs for this issue:

Affects: epel-7 [bug 1574720]
Affects: fedora-all [bug 1574723]


Created wavpack tracking bugs for this issue:

Affects: fedora-all [bug 1574721]

Comment 3 Doran Moppert 2018-07-27 03:11:45 UTC
DSDiff support was introduced in WavPack 5.0.0+

Comment 4 Product Security DevOps Team 2019-07-12 13:05:17 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-10539


Note You need to log in before you can comment on or make changes to this bug.