web-security-fundamentals icon indicating copy to clipboard operation
web-security-fundamentals copied to clipboard

fix(deps): update dependency bcrypt to v5 [security]

Open renovate[bot] opened this issue 4 years ago • 1 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bcrypt 3.0.8 -> 5.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2020-7689

In bcrypt (npm package) before version 5.0.0, data is truncated wrong when its length is greater than 255 bytes.


Release Notes

kelektiv/node.bcrypt.js (bcrypt)

v5.0.0

Compare Source

  • Fix the bcrypt "wrap-around" bug. It affects passwords with lengths >= 255. It is uncommon but it's a bug nevertheless. Previous attempts to fix the bug was unsuccessful.
    • Experimental support for z/OS
    • Fix a bug related to NUL in password input
    • Update node-pre-gyp to 0.15.0

v4.0.1

Compare Source

  • Fix compilation errors in Alpine linux

v4.0.0

Compare Source

  • Switch to NAPI bcrypt
    • Drop support for NodeJS 8

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Aug 20 '20 15:08 renovate[bot]

I spent a number of hours trying to get this to run on my M1 mac and I think bcrypt might have been the culprit. I believe this should be merged in save others the headache.

If anyone else it getting an error like this, you should try installing the latest bcrypt via yarn: /Users/ghelton/git/web-security-fundamentals/node_modules/bcrypt: Command failed.

ghelton avatar Jul 12 '23 17:07 ghelton