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 mongoose from 8.0.0 to 8.4.1 #13

Closed

Conversation

nay0101
Copy link
Owner

@nay0101 nay0101 commented Jun 23, 2024

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


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade mongoose from 8.0.0 to 8.4.1.

ℹ️ 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.


  • The recommended version is 21 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
537 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-2961688
537 Proof of Concept
high severity Prototype Pollution
SNYK-JS-MONGOOSE-5777721
537 Proof of Concept
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
537 Proof of Concept
medium severity Information Exposure
SNYK-JS-MONGODB-5871303
537 No Known Exploit
Release notes
Package name: mongoose
  • 8.4.1 - 2024-05-31

    8.4.1 / 2024-05-31

    • fix: pass options to clone instead of get in applyVirtuals #14606 #14543 andrews05
    • fix(document): fire pre validate hooks on 5 level deep single nested subdoc when modifying after save() #14604 #14591
    • fix: ensure buildBulkWriteOperations target shard if shardKey is set #14622 #14621 matlpriceshape
    • types: pass DocType down to subdocuments so HydratedSingleSubdocument and HydratedArraySubdocument toObject() returns correct type #14612 #14601
  • 8.4.0 - 2024-05-17

    8.4.0 / 2024-05-17

    • feat: upgrade mongodb -> 6.6.2 #14584
    • feat: add transactionAsyncLocalStorage option to opt in to automatically setting session on all transactions #14583 #13889
    • feat: handle initially null driver when instantiating Mongoose for Rollup support #14577 #12335
    • feat(mongoose): export omitUndefined() helper #14582 #14569
    • feat: add Model.listSearchIndexes() #14519 #14450
    • feat(connection): add listDatabases() function #14506 #9048
    • feat(schema): add schema-level readConcern option to apply default readConcern for all queries #14579 #14511
    • fix(error): remove model property from CastError to avoid printing all model properties to console #14568 #14529
    • fix(model): make bulkWrite() and insertMany() throw if throwOnValidationError set and all ops invalid #14587 #14572
    • fix(document): ensure transform function passed to toObject() options applies to subdocs #14600 #14589
    • types: add inferRawDocType helper #13900 #13772
    • types(document): make document _id type default to unknown instead of any #14541
  • 8.3.5 - 2024-05-15

    8.3.5 / 2024-05-15

    • fix(query): shallow clone $or, $and if merging onto empty query filter #14580 #14567
    • types(model+query): pass TInstanceMethods to QueryWithHelpers so populated docs have methods #14581 #14574
    • docs(typescript): clarify that setting THydratedDocumentType on schemas is necessary for correct method context #14575 #14573
  • 8.3.4 - 2024-05-06
  • 8.3.3 - 2024-04-29
  • 8.3.2 - 2024-04-16
  • 8.3.1 - 2024-04-08
  • 8.3.0 - 2024-04-03
  • 8.2.4 - 2024-03-28
  • 8.2.3 - 2024-03-21
  • 8.2.2 - 2024-03-15
  • 8.2.1 - 2024-03-04
  • 8.2.0 - 2024-02-22
  • 8.1.3 - 2024-02-16
  • 8.1.2 - 2024-02-11
  • 8.1.1 - 2024-01-24
  • 8.1.0 - 2024-01-16
  • 8.0.4 - 2024-01-09
  • 8.0.3 - 2023-12-07
  • 8.0.2 - 2023-11-28
  • 8.0.1 - 2023-11-15
  • 8.0.0 - 2023-10-31
from mongoose GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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

For more information:

Snyk has created this PR to upgrade mongoose from 8.0.0 to 8.4.1.

See this package in npm:
mongoose

See this project in Snyk:
https://app.snyk.io/org/nay0101/project/a5aa84e4-0e8c-442f-a167-4195fd088aa4?utm_source=github&utm_medium=referral&page=upgrade-pr
@nay0101 nay0101 closed this Jun 27, 2024
@nay0101 nay0101 deleted the snyk-upgrade-c7f87d0192afd99582a02dcc5c1d75b0 branch June 27, 2024 05:28
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