Skip to content
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

[Snyk] Upgrade: bcrypt, express, fast-glob, mongodb, validator #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rntvicente
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

bcrypt
from 5.0.1 to 5.1.1 | 2 versions ahead of your current version | a year ago
on 2023-08-16
express
from 4.17.1 to 4.19.2 | 9 versions ahead of your current version | 5 months ago
on 2024-03-25
fast-glob
from 3.2.5 to 3.3.2 | 10 versions ahead of your current version | 10 months ago
on 2023-11-06
mongodb
from 3.6.10 to 3.7.4 | 7 versions ahead of your current version | a year ago
on 2023-06-21
validator
from 13.5.2 to 13.12.0 | 5 versions ahead of your current version | 4 months ago
on 2024-05-09

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
586 Proof of Concept
high severity Prototype Poisoning
SNYK-JS-QS-3153490
586 Proof of Concept
high severity Arbitrary File Overwrite
SNYK-JS-TAR-1536528
586 No Known Exploit
high severity Arbitrary File Overwrite
SNYK-JS-TAR-1536531
586 No Known Exploit
high severity Arbitrary File Write
SNYK-JS-TAR-1579147
586 No Known Exploit
high severity Arbitrary File Write
SNYK-JS-TAR-1579152
586 No Known Exploit
high severity Arbitrary File Write
SNYK-JS-TAR-1579155
586 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090602
586 Proof of Concept
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
586 No Known Exploit
medium severity Information Exposure
SNYK-JS-NODEFETCH-2342118
586 No Known Exploit
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090599
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090600
586 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090601
586 Proof of Concept
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-TAR-1536758
586 No Known Exploit
Release notes
Package name: bcrypt from bcrypt GitHub release notes
Package name: express from express GitHub release notes
Package name: fast-glob
  • 3.3.2 - 2023-11-06

    Full Changelog: 3.3.1...3.3.2

    🐛 Bug fixes

    • Handle square brackets as a special character on Windows in escape functions (#425)
    • Keep escaping after brace expansion (#422)
  • 3.3.1 - 2023-07-22

    Full Changelog: 3.3.0...3.3.1

    This release fixes a regression for cases where the ignore option is used with a string (#403, #404).

    The public interface of this package does not support a string as the value for the ignore option since 2018 year (release).

    So, in the next major release, we will reintroduce method implementations that do not involve strings in the ignore option.

  • 3.3.0 - 2023-06-30

    Full Changelog: 3.2.12...3.3.0

    🚀 Improvements

    Method aliases

    New methods (glob, globSync, globStream) have been added in addition to the current methods (default import, sync, stream), which eliminate the need to rename the method when importing. In addition, an async alias has been added for the default import, which makes it possible to use this packet with ESM.

    Method to convert paths to globs

    A new method (convertPathToPattern) has been added in this release to convert a path to a pattern. The primary goal is to enable users to avoid processing Windows paths in each location where this package is used by utilities from third-party packages.

    See more details in the pull request.

    🐛 Bug fixes

    • In the past, we mishandled patterns that contained slashes when the baseNameMatch option was enabled, which went against the documented behavior. (#312)
    • Several problems with matching patterns that contain brace expansion have been resolved. The primary issue solved is when the pattern has duplicate slashes after it is expanded (#394), or the micromatch package does not correctly generate a regular expression (#365).
    • All negative patterns will now have the dot option enabled when matching paths. Previously, the !**/* patterns did not exclude hidden files (start with a dot). (#343)
    • The issue that led to duplicates in the results when overlapping or duplicate patterns were present among the patterns has been fixed. At the moment, we are only talking about leading dot. Other cases are not included. For example, running with the patterns ['./file.md', 'file.md', '*'] will now only include file.md once in the results. (#190)

    📖 Documentation

    A clarifying note has been added for the concurrency option, which provides more detailed information about the Thread Pool utilization.

    ⚙️ Infrastructure

    • The benchmark in CI is now running on Node.js 20.
    • The benchmark now uses the public package bencho instead of an in-house implementation. You may want to try this solution for your packages and provide feedback.

    🥇 New Contributors

  • 3.2.12 - 2022-09-09

    Full Changelog: 3.2.11...3.2.12

    🐛 Bug fixes

    Fixed an issue introduced in 3.2.7 related to incorrect application of patterns to entries with a trailing slash when the entry is not a directory.

    Before changes:

    fg.sync('**/!(*.md)')
    // ['file.md', 'a/file.md', 'a/file.txt']

    After fix:

    fg.sync('**/!(*.md)')
    // ['a/file.txt']

    Thanks @ AgentEnder for the issue (#357).

    🚀 Improvements

    This release includes performance improvements for the asynchronous method. For this method we now use an asynchronous directory traversal interface instead of using a streaming interface. This gives up to 15% acceleration for medium and large directories. The result depends a lot on hardware.

    You can find the benchmark results for this release in CI here.

    Here are a few of measurements on my laptop:

    ===> Benchmark pattern "*" with 100 launches (regression, async)
    ===> Max stdev: 7 | Retries: 3 | Options: {}

    Name Time, ms Time stdev, % Memory, MB Memory stdev, % Entries Errors Retries
    --------------------- -------- ------------- ---------- --------------- ------- ------ ----<s...

Snyk has created this PR to upgrade:
  - bcrypt from 5.0.1 to 5.1.1.
    See this package in npm: https://www.npmjs.com/package/bcrypt
  - express from 4.17.1 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - fast-glob from 3.2.5 to 3.3.2.
    See this package in npm: https://www.npmjs.com/package/fast-glob
  - mongodb from 3.6.10 to 3.7.4.
    See this package in npm: https://www.npmjs.com/package/mongodb
  - validator from 13.5.2 to 13.12.0.
    See this package in npm: https://www.npmjs.com/package/validator

See this project in Snyk:
https://app.snyk.io/org/rntvicente/project/40ea9495-6891-47b8-acbd-83f2154e6421?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants