Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Created attachment 1498401[details]
Trigger by "./sndfile-convert POC0"
version: libsndfile
Summary:
There is a heap-buffer-overflow on address 0x61200000be50 in libsndfile.
Description:
The asan debug is as follows:
$./sndfile-convert POC0 a.wav
==122624==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61200000be50 at pc 0x5e96a0 bp 0x7ffd57e9efb0 sp 0x7ffd57e9efa8
READ of size 4 at 0x61200000be50 thread T0
==122624==WARNING: Trying to symbolize code, but external symbolizer is not initialized!
#0 0x5e969f (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x5e969f)
#1 0x4cb046 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4cb046)
#2 0x4863e9 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4863e9)
#3 0x483b5e (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x483b5e)
#4 0x7f2ec5cf6a3f (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f)
#5 0x47ede8 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x47ede8)
0x61200000be50 is located 0 bytes to the right of 272-byte region [0x61200000bd40,0x61200000be50)
allocated by thread T0 here:
#0 0x468dc9 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x468dc9)
#1 0x66ce6d (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x66ce6d)
#2 0x4ad66f (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4ad66f)
#3 0x485384 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x485384)
#4 0x483690 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x483690)
#5 0x7f2ec5cf6a3f (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f)
SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 ??
Shadow bytes around the buggy address:
0x0c247fff9770: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c247fff9780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c247fff9790: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c247fff97a0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
0x0c247fff97b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c247fff97c0: 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa
0x0c247fff97d0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
0x0c247fff97e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0c247fff97f0: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa
0x0c247fff9800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x0c247fff9810: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Heap right redzone: fb
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack partial redzone: f4
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
ASan internal: fe
==122624==ABORTING
$./sndfile-convert POC0 a.wav
Segmentation fault
Which version of libsndfile made this crash.
Actually, I didn't get crash in version "libsndfile-1.0.28".
Could u please explain this?
Ref: https://nvd.nist.gov/vuln/detail/CVE-2018-19758
Thanks in advance.
The Red Hat Enterprise Linux 7 life cycle has entered Maintenance Support Phase, which means that only qualified Critical and Important Security errata advisories (RHSAs) and some Urgent Priority Bug Fix errata advisories (RHBAs) will be released as they become available. Unfortunately, this issue was not selected to be included in Red Hat Enterprise Linux 7. We will now close this issue. We recommend moving the request to Red Hat Enterprise Linux 8 if applicable.
See the Red Hat Enterprise Linux Life Cycle for more details:
https://access.redhat.com/support/policy/updates/errata/
Created attachment 1498401 [details] Trigger by "./sndfile-convert POC0" version: libsndfile Summary: There is a heap-buffer-overflow on address 0x61200000be50 in libsndfile. Description: The asan debug is as follows: $./sndfile-convert POC0 a.wav ==122624==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61200000be50 at pc 0x5e96a0 bp 0x7ffd57e9efb0 sp 0x7ffd57e9efa8 READ of size 4 at 0x61200000be50 thread T0 ==122624==WARNING: Trying to symbolize code, but external symbolizer is not initialized! #0 0x5e969f (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x5e969f) #1 0x4cb046 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4cb046) #2 0x4863e9 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4863e9) #3 0x483b5e (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x483b5e) #4 0x7f2ec5cf6a3f (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f) #5 0x47ede8 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x47ede8) 0x61200000be50 is located 0 bytes to the right of 272-byte region [0x61200000bd40,0x61200000be50) allocated by thread T0 here: #0 0x468dc9 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x468dc9) #1 0x66ce6d (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x66ce6d) #2 0x4ad66f (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x4ad66f) #3 0x485384 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x485384) #4 0x483690 (/home/company/real_sanitize/poc_check/libsndfile/sndfile-convert_addr+0x483690) #5 0x7f2ec5cf6a3f (/lib/x86_64-linux-gnu/libc.so.6+0x20a3f) SUMMARY: AddressSanitizer: heap-buffer-overflow ??:0 ?? Shadow bytes around the buggy address: 0x0c247fff9770: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c247fff9780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c247fff9790: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c247fff97a0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c247fff97b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c247fff97c0: 00 00 00 00 00 00 00 00 00 00[fa]fa fa fa fa fa 0x0c247fff97d0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c247fff97e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c247fff97f0: 00 00 00 00 00 00 00 00 00 00 fa fa fa fa fa fa 0x0c247fff9800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c247fff9810: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Heap right redzone: fb Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack partial redzone: f4 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 ASan internal: fe ==122624==ABORTING $./sndfile-convert POC0 a.wav Segmentation fault