-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timing attack vulnerability #7
Comments
Thanks. Fix applied in 4.0.8. |
Nice response time. Thanks a lot!
Steven
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to replace a line in flint-bot/sparky/blob/master/lib/res/webhooks.js
offending line:
...
if(sig === hmac.digest('hex')) {
...
Solution: replace triple equals with time-constant comparison from crypto lib
nodejs/node#3073
vulnerability explanation:
https://en.wikipedia.org/wiki/Timing_attack
discussion (in depth explanation):
nodejs/node-v0.x-archive#8560
Thank you for building this framework.
Steven Miller
Cisco Systems, IT Engineer
The text was updated successfully, but these errors were encountered: