Bug 1513837
Summary: | Potential arbitrary code execution bug found by Coverity scan | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dhiru Kholia <dkholia> |
Component: | genwqe-tools | Assignee: | Than Ngo <than> |
Status: | CLOSED ERRATA | QA Contact: | Erico Nunes <ernunes> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.4 | CC: | ernunes, lmiksik, than |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | genwqe-tools-4.0.18-4.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-10 15:44:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dhiru Kholia
2017-11-16 04:58:50 UTC
I am setting NEEDINFO on Erico Nunes (ernunes) instead of me. Erico, can we please get qa_ack for this security hardening bug? Here is the upstream patch for this issue, https://github.com/ibm-genwqe/genwqe-user/commit/f4a0a7c39ea94c3a2 If you have any comments about this upstream fix, please add them to https://github.com/ibm-genwqe/genwqe-user/issues/156 page. Thanks for handling this bug so quickly. Great work! Verified on genwqe-tools-4.0.18-6.el7. With the older version it attempted to load the library specified in ZLIB_PATH, now it doesn't attempt that anymore with the installed package. # rpm -q genwqe-tools genwqe-tools-4.0.18-3.el7.ppc64le # ZLIB_TRACE=0xffffffff ZLIB_PATH=/tmp/test.so genwqe_gunzip ### _init: BUILD=4.0.18 ZLIB_TRACE=ffffffff ZLIB_INFLATE_IMPL=1 ZLIB_DEFLATE_IMPL=1 ZLIB_INFLATE_THRESHOLD=16384 sss Loading software zlib "/tmp/test.so" sss Loading software zlib "/usr/lib64/libz.so" sss ZLIB_VERSION=1.2.7 (header) zlibVersion()=1.2.7 (code) sss /usr/lib64/libz.so: undefined symbol: inflateGetDictionary gzip: Output must not be a terminal! Called with: ARGV[0]: "genwqe_gunzip" Info: deflateInit: 0 Info: deflate: 0 sw: 0 hw: 0 Info: deflateEnd: 0 Info: inflateInit: 0 Info: inflate: 0 sw: 0 hw: 0 Info: inflateEnd: 0 sss Closing software zlib # yum install -y -q genwqe-tools # rpm -q genwqe-tools genwqe-tools-4.0.18-6.el7.ppc64le # ZLIB_TRACE=0xffffffff ZLIB_PATH=/tmp/test.so genwqe_gunzip ### _init: BUILD=4.0.18 ZLIB_TRACE=ffffffff ZLIB_INFLATE_IMPL=1 ZLIB_DEFLATE_IMPL=1 ZLIB_INFLATE_THRESHOLD=16384 sss Loading software zlib "/usr/lib64/libz.so" sss ZLIB_VERSION=1.2.7 (header) zlibVersion()=1.2.7 (code) sss /usr/lib64/libz.so: undefined symbol: inflateGetDictionary gzip: Output must not be a terminal! Called with: ARGV[0]: "genwqe_gunzip" Info: deflateInit: 0 Info: deflate: 0 sw: 0 hw: 0 Info: deflateEnd: 0 Info: inflateInit: 0 Info: inflate: 0 sw: 0 hw: 0 Info: inflateEnd: 0 sss Closing software zlib Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0869 |