Project

General

Profile

Actions

Bug #20512

closed

Use a proper CSPRNG to generate API tokens

Added by Alexis Mousset over 2 years ago. Updated 8 months ago.

Status:
Released
Priority:
N/A
Category:
Security
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

We currently use scala.util.Random (which is actually based on java.util.Random) but it is not suitable for such use cases, we should really use a CSPRNG here, like java.security.SecureRandom.

Actions #1

Updated by Alexis Mousset over 2 years ago

  • Target version set to 6.1.19
Actions #2

Updated by Alexis Mousset over 2 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #3

Updated by Alexis Mousset over 2 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to François ARMAND
  • Pull Request set to https://github.com/Normation/rudder/pull/4084
Actions #4

Updated by Alexis Mousset over 2 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset about 2 years ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ about 2 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.19, 6.2.13, 7.0.2 and 7.1.0~rc1 which were released today.

Actions #7

Updated by Alexis Mousset 8 months ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF