Timing Attack Affecting ruby_rncryptor_secured package, versions <3.0.1
Snyk CVSS
Attack Complexity
Low
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 ID SNYK-RUBY-RUBYRNCRYPTORSECURED-20462
- published 25 Dec 2017
- disclosed 23 Jan 2016
- credit Scott Arciszewski
How to fix?
Upgrade ruby_rncryptor_secured
to version 3.0.1 or higher.
Overview
ruby_rncryptor_secured
is an Encryptor and Decryptor for the RNCryptor format.
Affected versions of the package are vulnerable to Timing Attacks due to not comparing the HMAC hashes in constant time. A malicious user could guess the valid HMAC hash during the comparison time with an algorithm.