Skip to content

[Snyk-dev] Fix for 100 vulnerabilities#26

Open
schottsfired wants to merge 1 commit intomainfrom
snyk-fix-1027a8230ef08fa748713fe696f2738a
Open

[Snyk-dev] Fix for 100 vulnerabilities#26
schottsfired wants to merge 1 commit intomainfrom
snyk-fix-1027a8230ef08fa748713fe696f2738a

Conversation

@schottsfired
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 100 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-LODASH-567746
  ****  
high severity Prototype Pollution
SNYK-JS-LODASH-608086
  ****  
high severity Prototype Pollution
SNYK-JS-LODASH-73638
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-73639
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-174116
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-2342073
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-2342082
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-451540
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MARKED-584281
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-MINIMATCH-3050818
  ****  
low severity Prototype Pollution
SNYK-JS-MINIMIST-2429795
  ****  
medium severity Prototype Pollution
SNYK-JS-MINIMIST-559764
  ****  
high severity Prototype Pollution
SNYK-JS-MIXINDEEP-450212
  ****  
high severity Directory Traversal
SNYK-JS-MOMENT-2440688
  ****  
high severity Denial of Service (DoS)
SNYK-JS-MONGODB-473855
  ****  
medium severity Prototype Pollution
SNYK-JS-MONGOOSE-1086688
  ****  
high severity Prototype Pollution
SNYK-JS-MONGOOSE-2961688
  ****  
medium severity Information Exposure
SNYK-JS-MONGOOSE-472486
  ****  
medium severity Prototype Pollution
SNYK-JS-MPATH-1577289
  ****  
high severity Prototype Pollution
SNYK-JS-MQUERY-1050858
  ****  
high severity Prototype Pollution
SNYK-JS-MQUERY-1089718
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHPARSE-1077067
  ****  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-13271681
  ****  
high severity Prototype Pollution
SNYK-JS-SETVALUE-1540541
  ****  
high severity Prototype Pollution
SNYK-JS-SETVALUE-450213
  ****  
high severity Prototype Pollution
SNYK-JS-TYPEORM-590152
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-UGLIFYJS-1727251
  ****  
medium severity Arbitrary Code Injection
SNYK-JS-UNDERSCORE-1080984
  ****  
high severity Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090599
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090600
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090601
  ****  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-VALIDATOR-1090602
  ****  
high severity Prototype Pollution
SNYK-JS-Y18N-1021887
  ****  
medium severity Prototype Pollution
SNYK-JS-YARGSPARSER-560381
  ****  
critical severity Arbitrary File Write via Archive Extraction (Zip Slip)
npm:adm-zip:20180415
  899  
high severity Denial of Service (DoS)
SNYK-JS-DICER-2311764
  761  
high severity Uninitialized Memory Exposure
npm:npmconf:20180512
  756  
high severity Prototype Pollution
SNYK-JS-DUSTJSLINKEDIN-1089257
  751  
medium severity Cross-site Scripting (XSS)
SNYK-JS-JQUERY-565129
  744  
high severity DLL Injection
SNYK-JS-KERBEROS-568900
  741  
high severity Remote Code Execution (RCE)
SNYK-JS-EJS-2803307
  726  
medium severity Cross-site Scripting (XSS)
SNYK-JS-JQUERY-567880
  711  
critical severity Prototype Pollution
SNYK-JS-HANDLEBARS-534988
  704  
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-ANSIREGEX-1583908
  696  
high severity Prototype Pollution
SNYK-JS-EXPRESSFILEUPLOAD-595969
  696  
high severity Regular Expression Denial of Service (ReDoS)
npm:marked:20180225
  696  
high severity Prototype Pollution
SNYK-JS-INI-1048974
  686  
high severity Prototype Pollution
SNYK-JS-LODASH-450202
  686  
high severity Command Injection
SNYK-JS-LODASH-1040724
  681  
high severity Remote Code Execution (RCE)
SNYK-JS-HANDLEBARS-1056767
  671  
medium severity Prototype Pollution
SNYK-JS-JQUERY-174006
  666  
high severity Cross-site Scripting (XSS)
npm:marked:20150520
  654  
medium severity Prototype Pollution
SNYK-JS-HANDLEBARS-567742
  646  
high severity Prototype Pollution
SNYK-JS-JSONSCHEMA-1920922
  644  
high severity Code Injection
npm:dustjs-linkedin:20160819
  644  
medium severity Open Redirect
npm:st:20171013
  644  
medium severity Remote Memory Exposure
npm:mongoose:20160116
  641  
medium severity Prototype Pollution
npm:lodash:20180130
  636  
high severity Prototype Pollution
SNYK-JS-AJV-584908
  619  
high severity Arbitrary Code Execution
SNYK-JS-HANDLEBARS-534478
  619  
high severity Arbitrary Code Execution
npm:ejs:20161128
  619  
medium severity Prototype Pollution
SNYK-JS-HANDLEBARS-1279029
  601  
high severity Directory Traversal
SNYK-JS-ASYNC-12239908
  589  
high severity Denial of Service (DoS)
SNYK-JS-EXPRESSFILEUPLOAD-473997
  589  
high severity Denial of Service (DoS)
SNYK-JS-FILETYPE-2958042
  589  
high severity Denial of Service (DoS)
SNYK-JS-HANDLEBARS-480388
  589  
high severity Denial of Service (DoS)
SNYK-JS-LODASH-12239302
  589  
high severity Regular Expression Denial of Service (ReDoS)
npm:fresh:20170908
  589  
high severity Cross-site Scripting (XSS)
npm:marked:20170112
  589  
high severity Cross-site Scripting (XSS)
npm:marked:20170815
  589  
high severity Regular Expression Denial of Service (ReDoS)
npm:marked:20170907
  589  
high severity Regular Expression Denial of Service (ReDoS)
npm:negotiator:20160616
  589  
high severity Prototype Override Protection Bypass
npm:qs:20170213
  589  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-HOSTEDGITINFO-1088355
  586  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-1018905
  586  
medium severity Directory Traversal
npm:st:20140206
  586  
high severity Directory Traversal
SNYK-JS-ADMZIP-1065796
  584  
high severity Prototype Pollution
SNYK-JS-HANDLEBARS-173692
  579  
high severity Prototype Pollution
SNYK-JS-HANDLEBARS-174183
  579  
high severity Prototype Pollution
SNYK-JS-HANDLEBARS-469063
  579  
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-DEBUG-13283909
  559  
medium severity Alternate solution to CWE-1333 Inefficient Regular Expression Complexity
SNYK-JS-DEBUG-14214893
medium severity Arbitrary Code Injection
SNYK-JS-EJS-1049328
  526  
medium severity Cross-site Scripting (XSS)
npm:ejs:20161130
  509  
medium severity Denial of Service (DoS)
npm:ejs:20161130-1
  509  
medium severity Regular Expression Denial of Service (ReDoS)
npm:moment:20161019
  509  
low severity Validation Bypass
SNYK-JS-KINDOF-537849
  506  
medium severity Cross-site Scripting (XSS)
npm:jquery:20150627
  484  
medium severity Regular Expression Denial of Service (ReDoS)
npm:ms:20151024
  479  
medium severity Regular Expression Denial of Service (ReDoS)
npm:semver:20150403
  479  
medium severity Cross-site Scripting (XSS)
SNYK-JS-COLORNAME-17614999
  469  
medium severity Denial of Service (DoS)
npm:mem:20180117
  469  
medium severity Cross-site Scripting (XSS)
npm:marked:20170815-1
  454  
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
  436  
medium severity Reverse Tabnabbing
SNYK-JS-ISTANBULREPORTS-2328088
  429  
low severity Regular Expression Denial of Service (ReDoS)
npm:debug:20170905
  399  
low severity Regular Expression Denial of Service (ReDoS)
npm:mime:20170907
  399  
low severity Regular Expression Denial of Service (ReDoS)
npm:moment:20170905
  399  
low severity Regular Expression Denial of Service (ReDoS)
npm:ms:20170412
  399  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Directory Traversal
🦉 Prototype Pollution
🦉 Regular Expression Denial of Service (ReDoS)
🦉 More lessons are available in Snyk Learn

The following vulnerabilities are fixed with an upgrade:
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-567746
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-608086
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-73638
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-73639
- https://dev.snyk.io/vuln/SNYK-JS-MARKED-174116
- https://dev.snyk.io/vuln/SNYK-JS-MARKED-2342073
- https://dev.snyk.io/vuln/SNYK-JS-MARKED-2342082
- https://dev.snyk.io/vuln/SNYK-JS-MARKED-451540
- https://dev.snyk.io/vuln/SNYK-JS-MARKED-584281
- https://dev.snyk.io/vuln/SNYK-JS-MINIMATCH-3050818
- https://dev.snyk.io/vuln/SNYK-JS-MINIMIST-2429795
- https://dev.snyk.io/vuln/SNYK-JS-MINIMIST-559764
- https://dev.snyk.io/vuln/SNYK-JS-MIXINDEEP-450212
- https://dev.snyk.io/vuln/SNYK-JS-MOMENT-2440688
- https://dev.snyk.io/vuln/SNYK-JS-MONGODB-473855
- https://dev.snyk.io/vuln/SNYK-JS-MONGOOSE-1086688
- https://dev.snyk.io/vuln/SNYK-JS-MONGOOSE-2961688
- https://dev.snyk.io/vuln/SNYK-JS-MONGOOSE-472486
- https://dev.snyk.io/vuln/SNYK-JS-MPATH-1577289
- https://dev.snyk.io/vuln/SNYK-JS-MQUERY-1050858
- https://dev.snyk.io/vuln/SNYK-JS-MQUERY-1089718
- https://dev.snyk.io/vuln/SNYK-JS-PATHPARSE-1077067
- https://dev.snyk.io/vuln/SNYK-JS-PATHTOREGEXP-13271681
- https://dev.snyk.io/vuln/SNYK-JS-SETVALUE-1540541
- https://dev.snyk.io/vuln/SNYK-JS-SETVALUE-450213
- https://dev.snyk.io/vuln/SNYK-JS-TYPEORM-590152
- https://dev.snyk.io/vuln/SNYK-JS-UGLIFYJS-1727251
- https://dev.snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984
- https://dev.snyk.io/vuln/SNYK-JS-UNSETVALUE-2400660
- https://dev.snyk.io/vuln/SNYK-JS-VALIDATOR-1090599
- https://dev.snyk.io/vuln/SNYK-JS-VALIDATOR-1090600
- https://dev.snyk.io/vuln/SNYK-JS-VALIDATOR-1090601
- https://dev.snyk.io/vuln/SNYK-JS-VALIDATOR-1090602
- https://dev.snyk.io/vuln/SNYK-JS-Y18N-1021887
- https://dev.snyk.io/vuln/SNYK-JS-YARGSPARSER-560381
- https://dev.snyk.io/vuln/npm:adm-zip:20180415
- https://dev.snyk.io/vuln/SNYK-JS-DICER-2311764
- https://dev.snyk.io/vuln/npm:npmconf:20180512
- https://dev.snyk.io/vuln/SNYK-JS-DUSTJSLINKEDIN-1089257
- https://dev.snyk.io/vuln/SNYK-JS-JQUERY-565129
- https://dev.snyk.io/vuln/SNYK-JS-KERBEROS-568900
- https://dev.snyk.io/vuln/SNYK-JS-EJS-2803307
- https://dev.snyk.io/vuln/SNYK-JS-JQUERY-567880
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-534988
- https://dev.snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908
- https://dev.snyk.io/vuln/SNYK-JS-EXPRESSFILEUPLOAD-595969
- https://dev.snyk.io/vuln/npm:marked:20180225
- https://dev.snyk.io/vuln/SNYK-JS-INI-1048974
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-450202
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-1040724
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-1056767
- https://dev.snyk.io/vuln/SNYK-JS-JQUERY-174006
- https://dev.snyk.io/vuln/npm:marked:20150520
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-567742
- https://dev.snyk.io/vuln/SNYK-JS-JSONSCHEMA-1920922
- https://dev.snyk.io/vuln/npm:dustjs-linkedin:20160819
- https://dev.snyk.io/vuln/npm:st:20171013
- https://dev.snyk.io/vuln/npm:mongoose:20160116
- https://dev.snyk.io/vuln/npm:lodash:20180130
- https://dev.snyk.io/vuln/SNYK-JS-AJV-584908
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-534478
- https://dev.snyk.io/vuln/npm:ejs:20161128
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-1279029
- https://dev.snyk.io/vuln/SNYK-JS-ASYNC-12239908
- https://dev.snyk.io/vuln/SNYK-JS-EXPRESSFILEUPLOAD-473997
- https://dev.snyk.io/vuln/SNYK-JS-FILETYPE-2958042
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-480388
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-12239302
- https://dev.snyk.io/vuln/npm:fresh:20170908
- https://dev.snyk.io/vuln/npm:marked:20170112
- https://dev.snyk.io/vuln/npm:marked:20170815
- https://dev.snyk.io/vuln/npm:marked:20170907
- https://dev.snyk.io/vuln/npm:negotiator:20160616
- https://dev.snyk.io/vuln/npm:qs:20170213
- https://dev.snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355
- https://dev.snyk.io/vuln/SNYK-JS-LODASH-1018905
- https://dev.snyk.io/vuln/npm:st:20140206
- https://dev.snyk.io/vuln/SNYK-JS-ADMZIP-1065796
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-173692
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-174183
- https://dev.snyk.io/vuln/SNYK-JS-HANDLEBARS-469063
- https://dev.snyk.io/vuln/SNYK-JS-DEBUG-13283909
- https://dev.snyk.io/vuln/SNYK-JS-DEBUG-14214893
- https://dev.snyk.io/vuln/SNYK-JS-EJS-1049328
- https://dev.snyk.io/vuln/npm:ejs:20161130
- https://dev.snyk.io/vuln/npm:ejs:20161130-1
- https://dev.snyk.io/vuln/npm:moment:20161019
- https://dev.snyk.io/vuln/SNYK-JS-KINDOF-537849
- https://dev.snyk.io/vuln/npm:jquery:20150627
- https://dev.snyk.io/vuln/npm:ms:20151024
- https://dev.snyk.io/vuln/npm:semver:20150403
- https://dev.snyk.io/vuln/SNYK-JS-COLORNAME-17614999
- https://dev.snyk.io/vuln/npm:mem:20180117
- https://dev.snyk.io/vuln/npm:marked:20170815-1
- https://dev.snyk.io/vuln/SNYK-JS-BRACEEXPANSION-9789073
- https://dev.snyk.io/vuln/SNYK-JS-ISTANBULREPORTS-2328088
- https://dev.snyk.io/vuln/npm:debug:20170905
- https://dev.snyk.io/vuln/npm:mime:20170907
- https://dev.snyk.io/vuln/npm:moment:20170905
- https://dev.snyk.io/vuln/npm:ms:20170412
@amazon-inspector-n-virginia
Copy link
Copy Markdown

⏳ I'm reviewing this pull request for security vulnerabilities and code quality issues. I'll provide an update when I'm done

"body-parser": "1.9.0",
"cfenv": "^1.0.4",
"adm-zip": "0.5.2",
"body-parser": "1.17.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description: body-parser is Node.js body parsing middleware. body-parser <1.20.3 is vulnerable to denial of service when url encoding is enabled. A malicious actor using a specially crafted payload could flood the server with a large number of requests, resulting in denial of service. This issue is patched in 1.20.3.

Relevant link: GHSA-qwcr-r2fm-qrc7

Severity: High

"marked": "4.0.10",
"method-override": "latest",
"moment": "2.15.1",
"moment": "2.29.2",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description: moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.

Relevant link: GHSA-wc69-rhjr-hc9g

Severity: High

"express-fileupload": "0.0.5",
"errorhandler": "1.4.3",
"express": "5.0.0",
"express-fileupload": "1.1.10",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description: An arbitrary file write vulnerability in Express-FileUpload v1.3.1 allows attackers to upload multiple files with the same name, causing an overwrite of files in the web application server.

Relevant link: GHSA-w4m6-x6c2-j5c9

Severity: High

@amazon-inspector-n-virginia
Copy link
Copy Markdown

✅ I finished the code review, and left comments with the issues I found.

@schottsfired
Copy link
Copy Markdown
Owner Author

schottsfired commented Feb 4, 2026

Snyk checks have failed. 5 issues have been found so far.

Status Scanner Critical High Medium Low Total (5)
Open Source Security 0 1 3 1 5 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

2 participants