[Snyk] Security upgrade crypto-js from 4.1.1 to 4.2.0 #1489

Closed
opened 2026-04-05 16:27:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 11/20/2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • Accounts/package.json
    • Accounts/package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
high severity 644/1000
Why? Has a fix available, CVSS 8.6
Use of Weak Hash
SNYK-JS-CRYPTOJS-6028119
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: crypto-js The new version differs by 23 commits.
  • ac34a5a Merge branch 'release/4.2.0' into develop
  • d5af3ae Update release notes.
  • 9496e07 Bump version.
  • 421dd53 Change default hash algorithm and iteration's for PBKDF2 to prevent weak security by using the default configuration.
  • d1f4f4d Update grunt.
  • 1da3dab Discontinued
  • 4dcaa7a Merge pull request #380 from Alanscut/dev
  • 762feb2 chore: rename BF to Blowfish
  • fb81418 feat: blowfish support
  • c8a2312 Merge pull request #379 from Alanscut/dev
  • 09ee2ab feat: custom KDF hasher
  • 0229694 Merge branch 'develop' of ssh://github.com/brix/crypto-js into develop
  • df09288 Remove travis status, as travis is not used anymore.
  • 6703e79 Merge pull request #285 from paulmwatson/develop
  • d50d964 No es default param.
  • 4840268 Merge pull request #378 from Elity/develop
  • f92ddc0 Merge pull request #377 from Alanscut/dev
  • fe84967 fix: es-check error
  • ca7384f test: add test case,using salt in the config
  • dcc3848 fix:The "cfg.salt" parameter don't work
  • ecfe2e4 Update dev dependencies.
  • a4dac50 Merge branch 'release/4.1.1' into develop
  • 71ad0bc Minor typo fix: varialbes => variables

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Use of Weak Hash

*Originally created by @simlarsen on 11/20/2023* <p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.</h3> #### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - Accounts/package.json - Accounts/package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **644/1000** <br/> **Why?** Has a fix available, CVSS 8.6 | Use of Weak Hash <br/>[SNYK-JS-CRYPTOJS-6028119](https://snyk.io/vuln/SNYK-JS-CRYPTOJS-6028119) | No | No Known Exploit (*) Note that the real score may have changed since the PR was raised. <details> <summary><b>Commit messages</b></summary> </br> <details> <summary>Package name: <b>crypto-js</b></summary> The new version differs by 23 commits.</br> <ul> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/ac34a5a584337b33a2e567f50d96819a96ac44bf">ac34a5a</a> Merge branch &#x27;release/4.2.0&#x27; into develop</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/d5af3ae4130f63342e5623a22f225c612a32e34a">d5af3ae</a> Update release notes.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/9496e07c9a727f54e98942e86dd931d27558ea02">9496e07</a> Bump version.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/421dd538b2d34e7c24a5b72cc64dc2b9167db40a">421dd53</a> Change default hash algorithm and iteration&#x27;s for PBKDF2 to prevent weak security by using the default configuration.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/d1f4f4daec4f053be3eea4f6233d1d05ccec22fa">d1f4f4d</a> Update grunt.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/1da3dabf93f0a0435c47627d6f171ad25f452012">1da3dab</a> Discontinued</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/4dcaa7afd08f48cd285463b8f9499cdb242605fa">4dcaa7a</a> Merge pull request #380 from Alanscut/dev</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/762feb23a59f5db565b1e9c7ffbe7476264b755f">762feb2</a> chore: rename BF to Blowfish</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/fb81418583004d903fbc63190be21e460a52521b">fb81418</a> feat: blowfish support</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/c8a2312474ae60c823f3c00b4d7aac2da460bbfc">c8a2312</a> Merge pull request #379 from Alanscut/dev</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/09ee2ab282176f235f26d6a2d4e039cbd6eb3494">09ee2ab</a> feat: custom KDF hasher</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/02296944dc9d03172f8b03300fa75f64bea1e4e4">0229694</a> Merge branch &#x27;develop&#x27; of ssh://github.com/brix/crypto-js into develop</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/df09288da7b9ade447f8a5e779e348ce6bffd057">df09288</a> Remove travis status, as travis is not used anymore.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/6703e79dadfd2f31f353c3d083bcf88a8cee28c5">6703e79</a> Merge pull request #285 from paulmwatson/develop</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/d50d964d6bffae2ca36f18f1d179e0912af17e14">d50d964</a> No es default param.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/484026845c62007c4d7214021e1259dd84b0a7b7">4840268</a> Merge pull request #378 from Elity/develop</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/f92ddc0bf8e9d29cc67952312d87156b2fc50cca">f92ddc0</a> Merge pull request #377 from Alanscut/dev</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/fe84967d5df4cc98268613848772148a42c3f423">fe84967</a> fix: es-check error</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/ca7384f8dc3d25437703b7a1899b9928e6379adc">ca7384f</a> test: add test case,using salt in the config</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/dcc3848f5de5208bca73f36c0ed77fa192ee2ea8">dcc3848</a> fix:The &quot;cfg.salt&quot; parameter don&#x27;t work</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/ecfe2e45f5237f1c27ce614c0a1ea442faa257b6">ecfe2e4</a> Update dev dependencies.</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/a4dac504fe9e42825256496fa0b4c4742807bc9f">a4dac50</a> Merge branch &#x27;release/4.1.1&#x27; into develop</li> <li><a href="https://snyk.io/redirect/github/brix/crypto-js/commit/71ad0bcd2cb015021cacdb0120c065e87b7669d2">71ad0bc</a> Minor typo fix: varialbes &#x3D;&gt; variables</li> </ul> <a href="https://snyk.io/redirect/github/brix/crypto-js/compare/7c26cc72a618053c294309c22c95a895af39b7b7...ac34a5a584337b33a2e567f50d96819a96ac44bf">See the full diff</a> </details> </details> Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI0ZDQ4MzVkMS1iNDA1LTRkMDgtYjM4ZC03ZDY3NmVjOGUzYzMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjRkNDgzNWQxLWI0MDUtNGQwOC1iMzhkLTdkNjc2ZWM4ZTNjMyJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/40b17bc5-1bd4-48b1-88f1-5b4dc1400e80?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/40b17bc5-1bd4-48b1-88f1-5b4dc1400e80?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"4d4835d1-b405-4d08-b38d-7d676ec8e3c3","prPublicId":"4d4835d1-b405-4d08-b38d-7d676ec8e3c3","dependencies":[{"name":"crypto-js","from":"4.1.1","to":"4.2.0"}],"packageManager":"npm","projectPublicId":"40b17bc5-1bd4-48b1-88f1-5b4dc1400e80","projectUrl":"https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/40b17bc5-1bd4-48b1-88f1-5b4dc1400e80?utm_source=github&utm_medium=referral&page=fix-pr","type":"user-initiated","patch":[],"vulns":["SNYK-JS-CRYPTOJS-6028119"],"upgrade":["SNYK-JS-CRYPTOJS-6028119"],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[644],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Use of Weak Hash](https://learn.snyk.io/lesson/insecure-hash/?loc&#x3D;fix-pr)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#1489