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_...
Status: NEW
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: impact=low,public=20181010,reported=2...
Keywords: Security
Depends On: 1680045 1680046 1680048 1680044 1680047
Blocks: 1671448
TreeView+ depends on / blocked
 
Reported: 2019-01-31 15:40 UTC by Laura Pardo
Modified: 2019-03-06 16:05 UTC (History)
13 users (show)

(edit)
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

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.


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