- Notifications
You must be signed in to change notification settings - Fork2.7k
Upgrading minimatch version to fix MSRC vulnerability issue#21035
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
rishabhmalikMS commentedMay 20, 2025
/azp run |
MantavyaDh commentedMay 23, 2025
Is there any specific reason we are updating to version 3.0.5, the latest version is 10.0.1 |
tarunramsinghani commentedMay 23, 2025
Please do share the canary pipeline links for the tasks changed. |
rishabhmalikMS commentedMay 26, 2025
/azp run |
rishabhmalikMS commentedMay 26, 2025
Latest versions are causing issues in pattern matching. Hence, we have use v4. |
Uh oh!
There was an error while loading.Please reload this page.
rishabhmalikMS commentedMay 26, 2025
/azp run |
tarunramsinghani commentedMay 26, 2025
Since we hae updated Major version the Risk should not be Low, and it should atleast be medium, BTW did you check what other changes are there in V4 and validated the task code that the changes does not impact the functionality |
rishabhmalikMS commentedMay 26, 2025
Key minimatch v4 changes:
|
sanjuyadav24 commentedMay 28, 2025
Hi@rishabhmalikMS |
MantavyaDh commentedMay 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I investigated this, it is due to the variables missing those pools which are set in the pipelines,canary pipelines |
sanjuyadav24 commentedMay 29, 2025
okay, lets create a task to update these variables |
5c77ece intomasterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Context
Upgrading minimatch version to fix MSRC vulnerability issue.
📌How to link to ADO Work Items
AB#2281543
Task Name
ExtractFilesV1, GulpV0, GulpV1, XamarinTestCloudV1
Description
A ReDoS vulnerability exists in the braceExpand function of the minimatch package, which can be exploited using crafted input patterns.
Fix: Upgrade minimatch to version 3.0.5 or later.
ICM link for reference:https://portal.microsofticm.com/imp/v5/incidents/details/31000000365389/summary
Key minimatch v4 changes:
Canary runs
ExtractFiles:https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162239&view=results
GulpV0:https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162240&view=results
GulpV1:https://dev.azure.com/canarytest/PipelineTasks/_build/results?buildId=162241&view=results
Risk Assessment (Low / Medium / High)
Medium. Major version upgrade of minimatch package. Tested by running canary tests pipeline and unit tests for updated tests.
Unit Tests Added or Updated (Yes / No)
No new tests added
Additional Testing Performed
Tested by running canary tests pipeline and unit tests for updated tests
Documentation Changes Required (Yes / No)
No
Checklist