-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MMT- 3831: MMT React Vulnerabilities July 2024 #1264
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## MMT-3390 #1264 +/- ##
=========================================
Coverage 97.59% 97.60%
=========================================
Files 358 359 +1
Lines 5373 5383 +10
Branches 1113 1124 +11
=========================================
+ Hits 5244 5254 +10
Misses 128 128
Partials 1 1 ☔ View full report in Codecov by Sentry. |
When I pull MMT-3831 I don't see any changes to the # of vulnerabilites? It's at 22 vulnerabilities (3 moderate, 19 high) before and 22 vulnerabilities (2 moderate, 20 high) after. |
These vulnerabilities are new after I created the PR; which are not part of the AC; I also just fixed those here too, except those are not fixable. |
Can you explain why we can't fix the ones that say a fix is available? ie HeaderParser in dicer and Elliptic's EDDSA missing signature length check? Because pathed versions is None |
Overview
What is the feature?
MMT React Vulnerabilities Reported by Snyk (high & fixable) on July 18, 2024
CWE-1333: fast-xml-parser
CWE-1333: micromatch
https://app.snyk.io/org/esdis-cumulus-core-gibs-cmr-etc./project/74c1d039-9245-4c53-8786-e8cd1c1713d0
What is the Solution?
Update fast-xml-parser to 4.4.1
Update micromatch to 4.0.6
Will fix these 2 vulnerabilities on this branch MMT-3831
What areas of the application does this impact?
Affect versions of fast-xml-parser, and micromatch packages are vulnerable to Regular Expression Denial of Service (ReDoS)
Testing
Reproduction steps
BEFORE THE FIX -->Currently there are 28 vul
On branch MMT-3390
Run npm audit
Note that dicer, request, tough-cookie, and elliptic vulnerabilities currently have no fix available
AFTER THE FIX
Pull branch MMT-3831
Run npm audit
No fix available for this one
GHSA-977x-g7h5-7qgw
We currently still have No fix available for dicer, request, tough-cookie vulnerabilities and elliptic; ONLY fast-xml-parser, micromatch to 4.0.6 are being fixed according to the AC of the ticket
Checklist