Bug 1671446 (CVE-2019-7150) - CVE-2019-7150 elfutils: segmentation fault in elf64_xlatetom in libelf/elf32_xlatetom.c
Summary: CVE-2019-7150 elfutils: segmentation fault in elf64_xlatetom in libelf/elf32_...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-7150
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: 1680044 1680045 1680046 1680047 1680048
Blocks: 1671448
TreeView+ depends on / blocked
 
Reported: 2019-01-31 15:40 UTC by Laura Pardo
Modified: 2019-11-05 21:13 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 13:21:40 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:2197 None None None 2019-08-06 12:27:15 UTC
Red Hat Product Errata RHSA-2019:3575 None None None 2019-11-05 21:13:43 UTC

Description Laura Pardo 2019-01-31 15:40:27 UTC
An issue was discovered in elfutils 0.175. A segmentation fault can occur in the function elf64_xlatetom in libelf/elf32_xlatetom.c, due to dwfl_segment_report_module not checking whether the dyn data read from a core file is truncated. A crafted input can cause a program crash, leading to denial-of-service, as demonstrated by eu-stack.


References:
https://sourceware.org/bugzilla/show_bug.cgi?id=24103
https://sourceware.org/ml/elfutils-devel/2019-q1/msg00070.html

Upstream Patch:
https://sourceware.org/git/?p=elfutils.git;a=commit;h=da5c5336a1eaf519de246f7d9f0f5585e1d4ac59

Comment 2 Riccardo Schirone 2019-02-22 15:43:46 UTC
Created elfutils tracking bugs for this issue:

Affects: fedora-all [bug 1680044]

Comment 4 Mark Wielaard 2019-02-22 23:05:00 UTC
The title and description are slightly unfortunate since the issue doesn't have anything to do with the elf64_xlatetom function. That function just happens to be the function that accesses some undefined memory (indirectly through a memmove call).

A better description would be "eu-stack can crash when reading a corrupt or partial core file".

Comment 5 Dave Baker 2019-03-06 16:05:08 UTC
Flagging openshift-online-3 as NOTAFFECTED since binaries ship as part of RHEL.

Comment 6 errata-xmlrpc 2019-08-06 12:27:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2019:2197 https://access.redhat.com/errata/RHSA-2019:2197

Comment 7 Product Security DevOps Team 2019-08-06 13:21:40 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-2019-7150

Comment 8 errata-xmlrpc 2019-11-05 21:13:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2019:3575 https://access.redhat.com/errata/RHSA-2019:3575


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