bibleapi-rest icon indicating copy to clipboard operation
bibleapi-rest copied to clipboard

[Snyk] Security upgrade mongodb from 2.2.31 to 3.1.3

Open rkazakov opened this issue 1 year ago • 0 comments

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:
    • package.json
    • package-lock.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Regular Expression Denial of Service (ReDoS)
npm:bson:20180225
Yes Proof of Concept

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

Commit messages
Package name: mongodb The new version differs by 250 commits.
  • 79da11f 3.1.3
  • 337cb79 feat(core): update to mongodb-core 3.1.2
  • ff5fafc refactor(topology-base): `getServer` => `selectServer`
  • b33fc74 3.1.2
  • 78f6977 fix(mongo_client): translate options for connectWithUrl
  • 36e92f1 fix(db_ops): call collection.find() with correct parameters (#1795)
  • 759dd85 fix(buffer): replace deprecated Buffer constructor
  • cb9d915 docs(connect): remove references to MongoClient.connect
  • b8d2f1d fix(teardown): properly destroy a topology when initial connect fails
  • 64027e8 refactor(export): expose CommandCursor
  • 6ef85c4 refactor(export): expose AggregationCursor
  • 13d776f fix(cursor): set readPreference for cursor.count
  • a5d0f1d feat(deprecation): wrap deprecated functions
  • 4f907a0 feat(deprecation): create deprecation function
  • 666b8fa refactor(bulk): Unify bulk operations
  • a0d84f6 test(evergreen): adding evergreen config to native driver
  • b8471f1 fix(collection): isCapped returns false instead of undefined
  • 86344f4 fix(collection): ensure findAndModify always use readPreference primary
  • c25c519 test(countDocuments): full test coverage for countDocuments
  • 25ca557 docs(contributing): fix link to HISTORY.md
  • 4395110 chore(MongoClient): add missing legacy option name on warning message
  • 297d843 docs(sessions): updating docs for sessions
  • 15dc808 fix(db_ops): fix two incorrectly named variables
  • fca1185 fix(count-documents): return callback on error case

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:

🦉 Regular Expression Denial of Service (ReDoS)

rkazakov avatar Dec 19 '23 17:12 rkazakov