GitHub user yanboliang opened a pull request:

    https://github.com/apache/zeppelin/pull/2468

    [ZEPPELIN-2733] Remove System Information Leak in Authentication.java.

    ### What is this PR for?
    An information leak occurs when system data or debugging information leaves 
the program through an output stream or logging function.
    In the file Authentication.java,
    ```
    Line 137: LOG.debug("Encrypted user key is {}", userKey);
    Line 148: LOG.debug("IV is {}, IV length is {}", initVector, 
initVector.length());
    ```
    These lines may print information which can reveal some important data to 
user making it vulnerable to attacks, we should not log this sensitive 
information.
    
    ### What type of PR is it?
    [Improvement]
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-2733
    
    
    ### How should this be tested?
    Existing tests.
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update? - No
    * Is there breaking changes for older versions? - No
    * Does this needs documentation? - No


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yanboliang/zeppelin zeppelin-2733

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2468.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2468
    
----
commit b6bfbd6658ba6c8b5c907f410312c5da97fdd4d4
Author: Yanbo Liang <yblia...@gmail.com>
Date:   2017-07-06T06:31:15Z

    Remove System Information Leak in Authentication.java.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to