VDB
Sign up
—

PYSEC-2014-86

Quick fix

PYSEC-2014-86 — oauth2: upgrade to the fixed version with the command below.

pip install --upgrade 'oauth2>=1.9rc1'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/oauth2
Introduced in: 0Fixed in: 1.9rc1
Fixpip install --upgrade 'oauth2>=1.9rc1'

References