Bug 1420898

Summary: The Java command line for Hawkular carries passwords when displaying process (ps)
Product: OpenShift Container Platform Reporter: Matt Wringe <mwringe>
Component: HawkularAssignee: Matt Wringe <mwringe>
Status: CLOSED ERRATA QA Contact: Peng Li <penli>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: aos-bugs, jialiu, jmeyer, jokerman, juzhao, lmeyer, mmccomas, penli, tdawson, wsun
Target Milestone: ---   
Target Release: 3.4.z   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: The passwords for the keystore and truststore were being passed to EAP as system properties Consequence: As system properties, they are passed to the executable in plain text as "-D" parameters. This means the passwords could be leaked via something like the 'ps' command. Fix: The passwords are now being set in a system property file. Result: The passwords are not longer able to be leaked using something like the 'ps' command.
Story Points: ---
Clone Of: 1417652 Environment:
Last Closed: 2017-02-22 18:12:02 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:
Bug Depends On: 1417652, 1424137, 1427325, 1427544    
Bug Blocks:    

Comment 3 Troy Dawson 2017-02-10 21:12:25 UTC
This is in image openshift3/metrics-hawkular-metrics:3.4.1-4 or newer
That image is now in all testing areas.

Comment 13 errata-xmlrpc 2017-02-22 18:12:02 UTC
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-2017:0289