← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1343604] Re: Exceptions thrown, and messages logged by execute() may include passwords

 

** No longer affects: trove/icehouse

** No longer affects: trove/havana

** Changed in: trove
       Status: New => Triaged

** Changed in: trove
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1343604

Title:
  Exceptions thrown, and messages logged by execute() may include
  passwords

Status in Cinder:
  New
Status in Cinder havana series:
  New
Status in Cinder icehouse series:
  New
Status in OpenStack Compute (Nova):
  New
Status in OpenStack Compute (nova) havana series:
  New
Status in OpenStack Compute (nova) icehouse series:
  New
Status in Oslo - a Library of Common OpenStack Code:
  In Progress
Status in OpenStack Security Advisories:
  Triaged
Status in Openstack Database (Trove):
  Triaged

Bug description:
  Currently when execute() throws a ProcessExecutionError, it returns
  the command without masking passwords. In the one place where it logs
  the command, it correctly masks the password.

  It would be prudent to mask the password in the exception as well so
  that upstream catchers don't have to go through the mask_password()
  motions.

  The same also goes for stdout and stderr information which should be
  sanitized.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1343604/+subscriptions