[ 
https://issues.apache.org/jira/browse/HDFS-11665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Zhuge updated HDFS-11665:
------------------------------
    Description: 
May print warning message with secret in deprecated env var or matching 
property:
{code}
    LOG.warn("Environment variable {} = '{}' is deprecated and overriding"
            + " property {} = '{}', please set the property in {} instead.",
        varName, value, propName, propValue, confFile);
{code}

  was:
May print secret in warning message:
{code}
    LOG.warn("Environment variable {} = '{}' is deprecated and overriding"
            + " property {} = '{}', please set the property in {} instead.",
        varName, value, propName, propValue, confFile);
{code}


> HttpFSServerWebServer$deprecateEnv may leak secret
> --------------------------------------------------
>
>                 Key: HDFS-11665
>                 URL: https://issues.apache.org/jira/browse/HDFS-11665
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: httpfs, security
>    Affects Versions: 3.0.0-alpha3
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>         Attachments: HDFS-11665.001.patch, HDFS-11665.002.patch
>
>
> May print warning message with secret in deprecated env var or matching 
> property:
> {code}
>     LOG.warn("Environment variable {} = '{}' is deprecated and overriding"
>             + " property {} = '{}', please set the property in {} instead.",
>         varName, value, propName, propValue, confFile);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to