Advisory

GHSA-rv8h-p43r-4x5r

Also known as: CVE-2013-4347, PYSEC-2014-86

Summary

SimpleGeo python-oauth2 vulnerable to the use of Insufficiently Random Values to generate nonces

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 03:46 UTC
Modified
2024-10-07 21:26 UTC

Affected packages and fixes

oauth2

PyPI · All systems

Affected

  • introduced 0, fixed 1.9rc1 (ecosystem)

Fixed versions

1.9rc1

Fix

  • Fixed version 1.9rc1
    pip install --upgrade oauth2==1.9rc1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences