Insecure Randomness Affecting oauth2 package, versions [,1.9rc1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.26% (66th 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 Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-OAUTH2-40014
  • published13 Apr 2017
  • disclosed20 May 2014
  • creditUnknown

Introduced: 20 May 2014

CVE-2013-4347  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade to version 1.9rc1 or greater.

Overview

oauth2 is a library for OAuth version 1.9

Affected versions of this package are vulnerable to Insecure Randomness. The (1) make_nonce, (2) generate_nonce, and (3) generate_verifier functions in SimpleGeo python-oauth2 uses weak random numbers to generate nonces, which makes it easier for remote attackers to guess the nonce via a brute force attack.

CVSS Base Scores

version 3.1