Inadequate Encryption Strength Affecting random_password_generator package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-RANDOMPASSWORDGENERATOR-2833361
  • published 18 May 2022
  • disclosed 18 May 2022
  • credit Josh Williams (@jodawill)

How to fix?

There is no fixed version for random_password_generator.

Overview

random_password_generator is a generates a random password with various useful options.

Affected versions of this package are vulnerable to Inadequate Encryption Strength due to the use of Kernel#rand to generate passwords, which, as a result of its cyclic nature, can facilitate password prediction.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.5 high