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

Medium 5.8 Published Updated

Weak random number generation in python-oauth2 allows remote attackers to guess nonces via brute force, potentially bypassing authentication mechanisms.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-4347?

CVE-2013-4347 is a medium-severity vulnerability in n/a, published on 20 May 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-310

Which versions are affected by CVE-2013-4347?

3 open source packages ship an affected version, including oauth2. It affects 1 product.

PackageAffectedFixed in
oauth2 PyPIAll versions1.9rc1
oauth2 PyPIAll versions1.9rc1
oauth2 PyPIAll versions1.9rc1

Products include Urbanairship Python-Oauth2.

How do I fix CVE-2013-4347?

Upgrade oauth2 to 1.9rc1 or later.

Is CVE-2013-4347 being exploited?

There is no known exploitation of CVE-2013-4347 in the wild and no public exploit code.

Sources

Also known as GHSA-rv8h-p43r-4x5r, MGASA-2013-0314, PYSEC-2014-86.

Is CVE-2013-4347 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free