This repository has been archived by the owner on Jan 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Update dependency loopback-connector-mongodb to v3 [SECURITY] #8
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/npm-loopback-connector-mongodb-vulnerability
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update dependency loopback-connector-mongodb to v3 [SECURITY] #8
renovate
wants to merge
1
commit into
master
from
renovate/npm-loopback-connector-mongodb-vulnerability
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Best reviewed: commit by commit
Optimal code review plan
|
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v5 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Apr 26, 2021
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
April 26, 2021 15:43
2a099ef
to
82de24c
Compare
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
May 15, 2021 20:04
82de24c
to
efc092d
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
May 15, 2021
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
June 6, 2021 19:07
efc092d
to
a43d5ad
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Jun 6, 2021
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
November 20, 2022 23:56
a43d5ad
to
b87640b
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Nov 20, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
November 30, 2022 13:18
b87640b
to
374c57e
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Nov 30, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
November 30, 2022 16:26
374c57e
to
17c8cab
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Nov 30, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 9, 2022 09:49
17c8cab
to
e1f0652
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Dec 9, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 9, 2022 23:33
e1f0652
to
75b3f2c
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Dec 9, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 10, 2022 08:32
75b3f2c
to
492e19a
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Dec 10, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 10, 2022 11:09
492e19a
to
fbfa555
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Dec 10, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 17, 2022 07:23
fbfa555
to
fe887f6
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Dec 17, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
December 17, 2022 10:16
fe887f6
to
e01b406
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Dec 17, 2022
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Dec 20, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
2 times, most recently
from
December 20, 2022 08:39
96f5e80
to
d855f6f
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Dec 20, 2022
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
January 6, 2023 10:13
d855f6f
to
14fe898
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Jan 6, 2023
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
January 6, 2023 14:06
14fe898
to
f8b27a1
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Jan 6, 2023
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
January 17, 2023 17:00
f8b27a1
to
dc7bdad
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Jan 17, 2023
renovate
bot
force-pushed
the
renovate/npm-loopback-connector-mongodb-vulnerability
branch
from
January 18, 2023 08:57
dc7bdad
to
f7d9211
Compare
renovate
bot
changed the title
Update dependency loopback-connector-mongodb to v6 [SECURITY]
Update dependency loopback-connector-mongodb to v3 [SECURITY]
Jan 18, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.11.3
->^3.6.0
GitHub Vulnerability Alerts
GHSA-m734-r4g6-34f9
Versions of
loopback-connector-mongodb
before 3.6.0 are vulnerable to NoSQL injection.MongoDB Connector for LoopBack fails to properly sanitize a filter passed to query the database by allowing the dangerous
$where
property to be passed to the MongoDB Driver. The Driver allows the special$where
property in a filter to execute JavaScript (client can pass in a malicious script) on the database Driver. This is an intended feature of MongoDB unless disabled (instructions here).A proof of concept malicious query:
The above makes the database sleep for 5 seconds and then returns all “Posts” with the title containing the word
Hello
.Recommendation
Update to version 3.6.0 or later.
GHSA-hxwc-5vw9-2w4w
Versions of
loopback-connector-mongodb
prior to 3.6.0 are vulnerable to NoSQL Injection. Filters passed to the database query are not properly sanitized which leads to execution of code on the database driver and data leak.Recommendation
Upgrade to version 3.6.0 or later.
Release Notes
loopbackio/loopback-connector-mongodb
v3.6.0
Compare Source
=========================
docs: update with security consideration section (virkt25)
fix: sanitize query by default (virkt25)
change
count
tocountDocuments
(Rahmat Nugraha)add
useNewUrlParser
on validOptionNames (Rahmat Nugraha)Dedicated Model for testing disableDefaultSort (HugoPoi)
Add disableDefaultSort in README (HugoPoi)
Add settings disableDefaultSort for find method (HugoPoi)
v3.5.0
Compare Source
=========================
chore: drop node 4 and update deps (Taranveer Virk)
[WebFM] cs/pl/ru translation (candytangnb)
v3.4.4
Compare Source
=========================
v3.4.3
Compare Source
=========================
v3.4.2
Compare Source
=========================
chore:update CODEOWNERS (Diana Lau)
Prioritize db url (Dimitris)
CODEOWNERS: add nitro404 (Miroslav Bajtoš)
v3.4.1
Compare Source
=========================
v3.4.0
Compare Source
=========================
upgrade to mongodb driver 3.x (Raymond Feng)
Alias find as findById (jannyHou)
v3.3.1
Compare Source
=========================
Switch to bson.ObjectID (#401) (Kevin Delisle)
chore: update license (Diana Lau)
v3.3.0
Compare Source
=========================
update strong-globalize to 3.1.0 (shimks)
Create Issue and PR Templates (#386) (Sakib Hasan)
Use stalebot on this repo (#383) (Kevin Delisle)
Use stalebot on this repo (Kevin Delisle)
Add CODEOWNER file (Diana Lau)
v3.2.1
Compare Source
=========================
Apply feedback (ssh24)
Add docs on lazyConnect flag (ssh24)
v3.2.0
Compare Source
=========================
Remove the hard-coded writeConcern (Raymond Feng)
Document strictObjectIDCorecion flag (Loay)
Allow different forms of regexp on like/nlike op (ssh24)
Require init on mocha args (ssh24)
Use buildSort function to sort (ssh24)
Add docker setup (#373) (Sakib Hasan)
test: use mongodb-3.2 on Travis (#369) (Ryan Graham)
v3.1.0
Compare Source
=========================
Update connector version (#368) (Sakib Hasan)
Replicate issue_template from loopback repo (#350) (siddhipai)
Fix buildNearFilter to work with any key depth (#322) (Corentin H)
Fix Update when id not found (Loay)
Add additional envs for node v4/v6 (#365) (Sakib Hasan)
Update node version (ssh24)
Reconnect on execute after disconnect (#362) (phairow)
update the near query with minDistance test (#361) (Vincent Wen)
Fix lazy connect (#360) (phairow)
Export the additional functions (#353) (James Cooke)
Mongo 3.4 Support/Delete index ‘kind’ property from index options (#335) (Dylan Lundy)
Update README.md (Rand McKinney)
v3.0.1
Compare Source
=========================
Remove invalid options (jannyHou)
Add nestedProperty to connectorCapabilities (jannyHou)
Update README.md (Rand McKinney)
add info on url override (ivy ho)
add link for loopback types to mongodb (ivy ho)
replace MySQL with MongodDB (ivy ho)
Update Readme with Properties (ivy ho)
update lB connector version (Loay)
Fix replaceById to report err when id not found (Loay Gewily)
v3.0.0
Compare Source
=========================
Delete extraneous
id
for replacById (Amir Jafarian)Update paid support URL (Siddhi Pai)
Start 3.x + drop support for Node v0.10/v0.12 (siddhipai)
Drop support for Node v0.10 and v0.12 (Siddhi Pai)
Start the development of the next major version (Siddhi Pai)
Update mongodb version (jannyHou)
Update README with correct doc links, etc (Amir Jafarian)
Ensure inq/nin use array cond value (Fabien Franzen)
More ObjectID vs. String handling improvements (Fabien Franzen)
Test returned info for #destroy (Fabien Franzen)
Test fix for #253 (Fabien Franzen)
Fix Copyright, use process.nextTick (Fabien Franzen)
Fix all sorts of issues... (Fabien Franzen)
Column renaming should be done before extended ops (Ian Zepp)
Added support for renaming columns (Ian Zepp)
v1.18.1
Compare Source
v1.18.0
Compare Source
v1.17.0
Compare Source
==========================
Remove TEST prefix for env vars (#292) (Simon Ho)
Add connectorCapabilities global object (Nick Duffy)
Update translation files - round#2 (Candy)
Update deps to loopback 3.0.0 RC (Miroslav Bajtoš)
Remove conflict (jannyHou)
fix maxDistance not supported in geo filter. (Vincent Wen)
Use juggler@3 for running the tests (Miroslav Bajtoš)
Remove !intl (jannyHou)
Refactor (jannyHou)
Globalization (jannyHou)
Support patches afterwards (jannyHou)
Use the latest compatible mongodb (jannyHou)
Update URLs in CONTRIBUTING.md (#264) (Ryan Graham)
v1.15.2
Compare Source
==========================
v1.15.1
Compare Source
==========================
insert/update copyrights (Ryan Graham)
relicense as MIT only (Ryan Graham)
v1.15.0
Compare Source
==========================
Lazy connect when booting app (juehou)
Add support for geoNear queries (Timo Saikkonen)
Fix linting errors (Amir Jafarian)
Auto-update by eslint --fix (Amir Jafarian)
Add eslint infrastructure (Amir Jafarian)
Implementation for replace (Amir Jafarian)
Upgrade should to 8.0.2 (Simon Ho)
Check dataSource.connecting to prevent race conditions (Fabien Franzen)
Remove email from AUTHORS (Simon Ho)
Update description in README.md (Simon Ho)
Clean up package.json (Simon Ho)
Update AUTHORS (Simon Ho)
Add AUTHORS file (Simon Ho)
Use ObjectId as internal storage for id (Raymond Feng)
test: fix order of semver arguments (Ryan Graham)
use mocha for test script (Ryan Graham)
Add more tests for id coercion (Raymond Feng)
v1.14.0
Compare Source
v1.13.3
Compare Source
v1.13.2
Compare Source
==========================
Make sure null/undefined id is not coerced (Raymond Feng)
Allow runtime configurable test environment (Simon Ho)
changed env variable fortest servers (cgole)
v1.13.1
Compare Source
==========================
Fix the test set up (Raymond Feng)
Added mongo port env var (cgole)
Add env variable for mongodb server (cgole)
Refer to licenses with a link (Sam Roberts)
Fix repository field in package.json (Simon Ho)
Use strongloop conventions for licensing (Sam Roberts)
Enhance coercion of ids with inq/nin operators (Raymond Feng)
Return deleted count (Raymond Feng)
v1.13.0
Compare Source
==========================
Added a setting to enable optimsied findOrCreate method so that connector continues to work with mongodb < 2.6 (Mike Bissett)
Fixed up merge conflicted dependencies in package.json (Mike Bissett)
Update deps (Raymond Feng)
implement optimized findOrCreate (Clark Wang)
extract sort document building to method (Clark Wang)
v1.12.0
Compare Source
==========================
Add regexp operator support (Simon Ho)
Enable options.allowExtendedOperators (Fabien Franzen)
Enable Model.settings.mongodb.allowExtendedOperators (Fabien Franzen)
Update benchmarks (Simon Ho)
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.
This PR has been generated by Mend Renovate. View repository job log here.