Use of Insufficiently Random Values The advisory has been revoked - it doesn't affect any version of package oauth  (opens in a new tab)


Threat Intelligence

EPSS
0.25% (18th 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 Learn

Learn about Use of Insufficiently Random Values vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-OAUTH-7689038
  • published16 Aug 2024
  • disclosed15 Aug 2024
  • creditRikaard Hosein

Introduced: 15 Aug 2024

CVE-2024-42475  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade oauth to version 11.0 or higher.

Amendment

This was deemed not a vulnerability.

Overview

oauth is a ruby gem that implements both OAuth clients and servers in Ruby applications.

Affected versions of this package are vulnerable to Use of Insufficiently Random Values due to insufficient entropy and the use of a non-cryptographically secure pseudo-random number generator (PRNG) in the generateState function. An attacker can guess the state values and perform unauthorized actions.