← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1246159] Re: seed method brings potential security issue

 

marked as invalid for nova, as this is talking about cinder code

** Changed in: nova
       Status: New => Invalid

-- 
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/1246159

Title:
  seed method brings potential security issue

Status in OpenStack Compute (Nova):
  Invalid
Status in OpenStack Security Advisories:
  Invalid

Bug description:
  In the /cinder/transfer/apil.py, line 86, the source code is below

             random.seed(datetime.datetime.now().microsecond)

  This code is using seed method to generate a random number, Standard
  random number generators should not be used to generate randomness
  used for security reasons. For security sensitive randomness a
  crytographic randomness generator that provides sufficient entropy
  should be used.

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