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

fix(deps): update dependency mongodb to v4.17.0 [security] #899

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb 4.14.0 -> 4.17.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-32050

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.

Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).

This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).


Release Notes

mongodb/node-mongodb-native (mongodb)

v4.17.0

Compare Source

The MongoDB Node.js team is pleased to announce version 4.17.0 of the mongodb package!

Release Notes

mongodb-js/saslprep is now installed by default

Until v6, the driver included the saslprep package as an optional dependency for SCRAM-SHA-256 authentication. saslprep breaks when bundled with webpack because it attempted to read a file relative to the package location and consequently the driver would throw errors when using SCRAM-SHA-256 if it were bundled.

The driver now depends on mongodb-js/saslprep, a fork of saslprep that can be bundled with webpack because it includes the necessary saslprep data in memory upon loading. This will be installed by default but will only be used if SCRAM-SHA-256 authentication is used.

Remove credential availability on ConnectionPoolCreatedEvent

In order to avoid mistakenly printing credentials the ConnectionPoolCreatedEvent will replace the credentials option with an empty object. The credentials are still accessble via MongoClient options: client.options.credentials.

Features
Bug Fixes
  • NODE-5262: AWS Lambda metadata detection logic is too permissive (#​3683) (c0c3d99)
  • NODE-5311: construct error messages for AggregateErrors in Node16+ (#​3683) (98b7bdf)
  • NODE-5316: prevent parallel topology creation in MongoClient.connect (#​3696) (e13038d)
    • Thank you @​clemclx for contributing this fix! 🎉
  • NODE-5356: prevent scram auth from throwing TypeError if saslprep is not a function (#​3732) (2d028af)
  • NODE-5536: remove credentials from ConnectionPoolCreatedEvent options (#​3812) (2910dca)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v4.16.0

Compare Source

The MongoDB Node.js team is pleased to announce version 4.16.0 of the mongodb package!

Features
  • NODE-5159: add FaaS env information to client metadata (#​3639) (e0b20f1)
  • NODE-5199: add alternative runtime detection to client metadata (#​3647) (fba16ad)
Bug Fixes
  • NODE-5161: metadata duplication in handshake (#​3628) (b790142)
  • NODE-5200: relax SRV record validation to account for a dot suffix (#​3640) (4272c43)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v4.15.0

Compare Source

The MongoDB Node.js team is pleased to announce version 4.15.0 of the mongodb package!

Features
  • NODE-5054: add AssumeRoleWithWebIdentity support to 4x driver (#​3566) (8a8c386)
Bug Fixes
  • NODE-5097: set timeout on write and reset on message (#​3590) (2d3576b)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.


Configuration

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

🚦 Automerge: Enabled.

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
Copy link
Contributor Author

renovate bot commented Aug 31, 2023

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from f9aa5f9 to 8d5c58e Compare September 19, 2023 15:09
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from efecbc3 to 15e3bc1 Compare September 28, 2023 13:21
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 8f49438 to 57c1807 Compare October 15, 2023 16:42
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 57c1807 to edd5496 Compare October 23, 2023 17:53
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from edd5496 to d9fa614 Compare November 6, 2023 07:11
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from d9fa614 to 2bd3430 Compare November 16, 2023 11:19
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 2bd3430 to 210b58e Compare November 26, 2023 01:42
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 210b58e to 48fc2ce Compare December 3, 2023 11:50
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 48fc2ce to 567971b Compare December 24, 2023 16:24
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from b0b58bd to 5a5993b Compare February 4, 2024 09:51
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 5a5993b to a85d29b Compare February 25, 2024 11:13
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from a85d29b to 8135bca Compare March 12, 2024 09:52
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from c06fb52 to 33693c2 Compare March 24, 2024 15:38
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 9d3897d to ef2fc9d Compare April 21, 2024 11:07
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ef2fc9d to a44b701 Compare June 4, 2024 10:29
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from a44b701 to 2ca5b63 Compare July 21, 2024 13:23
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 2ca5b63 to ffd2715 Compare August 6, 2024 10:51
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ffd2715 to b8431c0 Compare August 28, 2024 07:08
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from b8431c0 to 184a365 Compare October 9, 2024 07:36
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 184a365 to d1c0704 Compare December 2, 2024 09:19
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.

0 participants