CVE-2013-4346: oauth2 Replay Attack Vulnerability

oauth2 Updated 02 Oct 2025

Summary

20/05/2014
Yes i
High
7.5

CVE-2013-4346: The Server.verify_request function in SimpleGeo python-oauth2 does not check the nonce, which allows remote attackers to perform replay attacks via a signed URL. Affects oauth2 versions < 1.9rc1. Fixed in 1.9rc1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The oauth2 package is a Python library that provides OAuth 1.0/a, OAuth 2.0, and Service Account credentials (JWT) for accessing Google APIs. It is commonly used for authentication and authorization purposes in Python applications. However, a vulnerability has been identified in the package that allows remote attackers to perform replay attacks via a signed URL.

Vulnerability Detail

The Server.verify_request function in SimpleGeo python-oauth2 does not check the nonce, which allows remote attackers to perform replay attacks via a signed URL. This means that an attacker can intercept a signed URL and replay it multiple times, potentially gaining unauthorized access or performing malicious actions on behalf of the original user. The lack of nonce verification makes it easier for an attacker to reuse the signed URL without detection.

How To Fix

Minimum fixed version

1.9rc1

This is the first release that contains the fix.

pip install --upgrade "oauth2==1.9rc1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the oauth2 package to the fixed version.

Conclusion

The oauth2 package is vulnerable to a replay attack due to the lack of nonce verification in the Server.verify_request function. To mitigate this vulnerability, it is crucial to update the package to version 1.9rc1 or later. Failure to address this issue may result in unauthorized access or malicious actions on behalf of users. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for oauth2 →

Share this vulnerability

FAQ

This vulnerability allows remote attackers to perform replay attacks, potentially gaining unauthorized access or performing malicious actions on behalf of the original user.

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply input your Pipfile.lock file, and the tool will alert you if the vulnerability is present.

There are no known public exploits for this vulnerability at the moment. However, it is crucial to update the oauth2 package to mitigate the risk of potential attacks.

To update the oauth2 package, you can use the following command: pip install --upgrade oauth2

Related vulnerabilities

Recent vulnerabilities recorded for oauth2.

How To Fix

Minimum fixed version

1.9rc1

This is the first release that contains the fix.

pip install --upgrade "oauth2==1.9rc1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback