Timing Attack Affecting simple-otp package, versions [,0.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SIMPLEOTP-3104632
  • published4 Nov 2022
  • disclosed4 Nov 2022
  • creditUnknown

Introduced: 4 Nov 2022

CVE NOT AVAILABLE CWE-208  (opens in a new tab)

How to fix?

Upgrade simple-otp to version 0.1.1 or higher.

Overview

simple-otp is an A simple OTP Generation and Verification Library which works without a Database or Cache

Affected versions of this package are vulnerable to Timing Attack due to using == operator when comparing hashes.

CVSS Base Scores

version 3.1