Timing Attack Affecting clearance package, versions <2.2.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made 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-RUBY-CLEARANCE-20418
  • published7 Dec 2017
  • disclosed27 Jan 2016
  • creditDerek Prior

Introduced: 27 Jan 2016

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

How to fix?

Upgrade clearance to version 2.2.1 or higher.

Overview

clearance is an authentication app for rails.

Affected versions of this package are vulnerable to Timing Attack. When attempting to authenticate a user, but no user was found with the provided email address, it skips calls to BCrypt. This allows attackers to time the response from the app to see if the provided user has an account, and help when attempting to guess a users password.

CVSS Scores

version 3.1