CVE-2013-4347
SimpleGeo python-oauth2 vulnerable to the use of Insufficiently Random Values to generate nonces
Also known as GHSA-rv8h-p43r-4x5r, PYSEC-2014-86
Mitigation
- Upgrade oauth2 to 1.9rc1 or later.
Who should check
- Projects that depend on PyPI package oauth2 (< 1.9rc1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- oauth2 < 1.9rc1
- Fixed in
- 1.9rc1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.8 (v2.0, NVD)AV:N/AC:M/Au:N/C:P/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: Partial
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 2.44% chance of exploitation in 30 days (percentile 85, 2026-11-26)
- CWE
- CWE-310
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI oauth2 | < 1.9rc1 | 1.9rc1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2013-4347. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2013-4347.md Affected: oauth2 < 1.9rc1 Fixed in: 1.9rc1 Steps: 1. Search this machine and project for oauth2 (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- http://www.securityfocus.com/bid/62388
- https://github.com/simplegeo/python-oauth2/issues/9
- http://www.openwall.com/lists/oss-security/2013/09/12/7
- https://access.redhat.com/errata/RHSA-2015:1591
- https://access.redhat.com/errata/RHSA-2015:1592
- https://access.redhat.com/security/cve/CVE-2013-4347
- https://bugzilla.redhat.com/show_bug.cgi?id=1007758
- https://github.com/joestump/python-oauth2
- https://github.com/pypa/advisory-database/tree/main/vulns/oauth2/PYSEC-2014-86.yaml
FAQ
Is CVE-2013-4347 being exploited?
There is no confirmed exploitation: CVE-2013-4347 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.44% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2013-4347?
Medium: CVSS 5.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2013-4347?
oauth2 < 1.9rc1.
Is there a fix for CVE-2013-4347?
Yes. Fixed in 1.9rc1. Upgrade oauth2 to 1.9rc1 or later.
How do I check if I'm affected by CVE-2013-4347?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.