Skip to content

fix(deps): update dependency mongodb to v5.8.0 [security]#121

Open
renovate[bot] wants to merge 1 commit intodevfrom
renovate/npm-mongodb-vulnerability
Open

fix(deps): update dependency mongodb to v5.8.0 [security]#121
renovate[bot] wants to merge 1 commit intodevfrom
renovate/npm-mongodb-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Aug 30, 2023

This PR contains the following updates:

Package Change Age Confidence
mongodb 5.5.05.8.0 age 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)

v5.8.0

Compare Source

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

Release Notes

The AutoEncrypter interface has been deprecated

The AutoEncrypter interface was used internally but accidentally made public in the 4.x version of the driver. It is now deprecated and will be made internal in the next major release.

Kerberos support for 1.x and 2.x

Moves the kerberos dependency back to ^1.0.0 || ^2.0.0 to indicate support for both 1.x and 2.x. Support for 1.x is removed in 6.0.

Fixed accidental deprecation warning

Because of internal options handling, a deprecation was emitted for tlsCertificateFile when using tlsCertificateKeyFile. That has been corrected.

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
  • NODE-5399: use mongodb-js/saslprep instead of saslprep (#​3818) (c0d3927)
  • NODE-5429: deprecate the AutoEncrypter interface (#​3764) (9bb0d95)
  • NODE-5465,NODE-5538: lower @aws-sdk/credential-providers version to 3.188.0 and zstd to ^1.0.0 (#​3821) (39ff81d)
Bug Fixes
  • NODE-5489: set kerberos compatibility to ^1.0.0 || ^2.0.0 (#​3803) (c3b35b3)
  • NODE-5495: do not emit deprecation warning when tlsCertificateKeyFile is specified and tlsCertificateFile is not (#​3810) (e81d4a2)
  • NODE-5537: remove credentials from ConnectionPoolCreatedEvent options (#​3813) (4cf1e96)

Documentation

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

v5.7.0

Compare Source

Features
Bug Fixes
  • NODE-4977: load snappy lazily (#​3726) (865e658)
  • NODE-5102: listDatabases nameOnly setting is sent as NaN (#​3742) (b97132e)
  • NODE-5289: prevent scram auth from throwing TypeError if saslprep is not a function (#​3727) (e006347)
  • NODE-5374: do not apply cursor transform in Cursor.hasNext (#​3746) (0668cd8)

v5.6.0

Compare Source

Features
Bug Fixes
  • NODE-5249: remove strict flag from create collection options (#​3677) (be8faaf)
  • NODE-5296: construct error messages for AggregateErrors in Node16+ (#​3682) (e03178e)

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.

@vercel
Copy link
Copy Markdown

vercel bot commented Aug 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
foodmaps ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 6, 2023 11:18pm

@renovate renovate bot changed the title fix(deps): update dependency mongodb to v5.8.0 [security] fix(deps): update dependency mongodb to v5.8.0 [security] - autoclosed Sep 6, 2023
@renovate renovate bot closed this Sep 6, 2023
@renovate renovate bot deleted the renovate/npm-mongodb-vulnerability branch September 6, 2023 20:29
@renovate renovate bot changed the title fix(deps): update dependency mongodb to v5.8.0 [security] - autoclosed fix(deps): update dependency mongodb to v5.8.0 [security] Sep 6, 2023
@renovate renovate bot reopened this Sep 6, 2023
@renovate renovate bot restored the renovate/npm-mongodb-vulnerability branch September 6, 2023 23:17
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 1ceec81 to 242ebd4 Compare September 6, 2023 23:17
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 242ebd4 to 397dc46 Compare August 10, 2025 12:39
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 397dc46 to 84d4898 Compare September 25, 2025 16:13
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 84d4898 to 90e24c0 Compare October 21, 2025 17:06
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 90e24c0 to 0d27956 Compare December 31, 2025 15:25
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 0d27956 to 603810b Compare January 19, 2026 19:13
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 603810b to 815c603 Compare February 12, 2026 18:11
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