Skip to content

Commit

Permalink
Merge pull request #8 from endorlabs/mpath1
Browse files Browse the repository at this point in the history
  • Loading branch information
phameratl authored Aug 2, 2024
2 parents ab2f89c + 416e2fa commit 6165ca5
Show file tree
Hide file tree
Showing 4 changed files with 202 additions and 19 deletions.
1 change: 1 addition & 0 deletions minimist_vuln2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const argv = require('minimist')(process.argv.slice(2))
5 changes: 5 additions & 0 deletions mpath.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// CVE-2021-23438

var mu = require('mongoose/lib/utils');
var val = mu.getValue("/foo", {}, null);
console.log("value is "+val);
214 changes: 195 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"description": "",
"dependencies": {
"minimist": "1.2.5",
"mongodb": "^3.5.9",
"mongoose": "4.2.4"
}
}

0 comments on commit 6165ca5

Please sign in to comment.