Bug 1631088 (CVE-2018-17095) - CVE-2018-17095 audiofile: Heap-based buffer overflow in Expand3To4Module::run() when running sfconvert
Summary: CVE-2018-17095 audiofile: Heap-based buffer overflow in Expand3To4Module::run...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-17095
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: 1631089 1637128
Blocks: 1631090
TreeView+ depends on / blocked
 
Reported: 2018-09-19 20:48 UTC by Pedro Sampaio
Modified: 2020-10-06 11:50 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-29 21:57:20 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3877 0 None None None 2020-09-29 19:30:02 UTC

Description Pedro Sampaio 2018-09-19 20:48:43 UTC
An issue has been discovered in mpruett Audio File Library (aka audiofile) 0.3.6. A heap-based buffer overflow in Expand3To4Module::run has occurred when running sfconvert.

Upstream issues:

https://github.com/mpruett/audiofile/issues/50
https://github.com/mpruett/audiofile/issues/51

Comment 1 Pedro Sampaio 2018-09-19 20:49:11 UTC
Created audiofile tracking bugs for this issue:

Affects: fedora-all [bug 1631089]

Comment 4 Scott Gayou 2018-10-08 16:49:46 UTC
Upstream has two issues for what appears to be the exact same flaw.

See test1 run:

```
Audio File Library: file missing data -- read 0 frames, should be 5 [error 5]
==18400== Invalid write of size 4
==18400==    at 0x4E55C07: ??? (in /usr/lib64/libaudiofile.so.1.0.0)
==18400==    by 0x4E4C8E2: afReadFrames (in /usr/lib64/libaudiofile.so.1.0.0)
==18400==    by 0x401E4D: ??? (in /usr/bin/sfconvert)
==18400==    by 0x40162D: ??? (in /usr/bin/sfconvert)
==18400==    by 0x50913D4: (below main) (in /usr/lib64/libc-2.17.so)
```

and test2 run:
```
Audio File Library: file missing data -- read 0 frames, should be 5 [error 5]
==18402== Invalid write of size 4
==18402==    at 0x4E55C07: ??? (in /usr/lib64/libaudiofile.so.1.0.0)
==18402==    by 0x4E4C8E2: afReadFrames (in /usr/lib64/libaudiofile.so.1.0.0)
==18402==    by 0x401E4D: ??? (in /usr/bin/sfconvert)
==18402==    by 0x40162D: ??? (in /usr/bin/sfconvert)
==18402==    by 0x50913D4: (below main) (in /usr/lib64/libc-2.17.so)
```

Comment 6 errata-xmlrpc 2020-09-29 19:29:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3877 https://access.redhat.com/errata/RHSA-2020:3877

Comment 7 Product Security DevOps Team 2020-09-29 21:57:20 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-17095


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