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: NEW
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: 1637128 1631089
Blocks: 1631090
TreeView+ depends on / blocked
 
Reported: 2018-09-19 20:48 UTC by Pedro Sampaio
Modified: 2019-09-29 14:59 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

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)
```


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