Bug 1659631 (CVE-2018-19662) - CVE-2018-19662 libsndfile: buffer over-read in the function i2alaw_array in alaw.c
Summary: CVE-2018-19662 libsndfile: buffer over-read in the function i2alaw_array in a...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-19662
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1659632 1673085 1673086
Blocks: 1659634
TreeView+ depends on / blocked
 
Reported: 2018-12-14 20:40 UTC by Laura Pardo
Modified: 2020-09-29 19:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:32:17 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1636 0 None None None 2020-04-28 15:33:36 UTC
Red Hat Product Errata RHSA-2020:3922 0 None None None 2020-09-29 19:51:09 UTC

Description Laura Pardo 2018-12-14 20:40:43 UTC
An issue was discovered in libsndfile 1.0.28. There is a buffer over-read in the function i2alaw_array in alaw.c that will lead to a denial of service. 


References:
https://github.com/erikd/libsndfile/issues/429

Comment 1 Laura Pardo 2018-12-14 20:40:56 UTC
Created libsndfile tracking bugs for this issue:

Affects: fedora-all [bug 1659632]

Comment 2 Riccardo Schirone 2019-02-06 16:08:29 UTC
Functions i2ulaw_array() in ulaw.c and i2alaw_array() in alaw.c use an attacker-controlled value to index a global array, however when the value is negative they get the opposite, which is undefined behaviour in case the original value is INT_MIN. Thus those functions could access some elements outside the limits of the ulaw_encode/alaw_encode buffers.

Comment 7 errata-xmlrpc 2020-04-28 15:33:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 8 Product Security DevOps Team 2020-04-28 16:32: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-19662

Comment 9 errata-xmlrpc 2020-09-29 19:51:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

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


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