Skip to content

Commit a34bfce

Browse files
balajacatherinmeta-codesync[bot]
authored andcommitted
Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4 (#56179)
Summary: Pull Request resolved: #56179 Fix CVE-2026-27903, CVE-2026-27904: Upgrade transitive dependency minimatch from 3.1.2/3.0.8 to 3.1.4 ## Summary Upgrading the transitive dependency `minimatch` to 3.1.4 in `xplat/js/react-native-github` to fix: - CVE-2026-27903 (Inefficient Algorithmic Complexity) - CVE-2026-27904 (Inefficient Regular Expression Complexity) Two vulnerable versions were present: - `minimatch@3.1.2` (via eslint, eslint-plugin-jsx-a11y, eslint-plugin-react, etc.) - `minimatch@3.0.8` (via microsoft/api-extractor with `~3.0.3` tilde range) The `^3.x` entries naturally resolved to 3.1.4 after nudging (resolution removed). The `~3.0.3` entry required a permanent scoped resolution (`microsoft/api-extractor/minimatch: 3.1.4`) because the tilde range caps at `<3.1.0`. Changelog: [General][Security] - Bumped minimatch to fix CVE-2026-27903, CVE-2026-27904 Reviewed By: cortinico Differential Revision: D96997159
1 parent caf168f commit a34bfce

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@
122122
"resolutions": {
123123
"react-is": "19.2.3",
124124
"on-headers": "1.1.0",
125-
"compression": "1.8.1"
125+
"compression": "1.8.1",
126+
"@microsoft/api-extractor/minimatch": "3.1.4"
126127
}
127128
}

yarn.lock

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3142,10 +3142,10 @@ brace-expansion@^1.1.7:
31423142
balanced-match "^1.0.0"
31433143
concat-map "0.0.1"
31443144

3145-
brace-expansion@^2.0.1:
3146-
version "2.0.1"
3147-
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae"
3148-
integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==
3145+
brace-expansion@^2.0.2:
3146+
version "2.0.2"
3147+
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
3148+
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
31493149
dependencies:
31503150
balanced-match "^1.0.0"
31513151

@@ -7251,26 +7251,19 @@ mimic-response@^3.1.0:
72517251
resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9"
72527252
integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==
72537253

7254-
minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:
7255-
version "3.1.2"
7256-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
7257-
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
7254+
minimatch@3.1.4, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2, minimatch@~3.0.3:
7255+
version "3.1.4"
7256+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.4.tgz#89d910ea3970a77ac8edfd30340ccd038b758079"
7257+
integrity sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==
72587258
dependencies:
72597259
brace-expansion "^1.1.7"
72607260

72617261
minimatch@^9.0.3, minimatch@^9.0.4:
7262-
version "9.0.5"
7263-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
7264-
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
7262+
version "9.0.9"
7263+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.9.tgz#9b0cb9fcb78087f6fd7eababe2511c4d3d60574e"
7264+
integrity sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==
72657265
dependencies:
7266-
brace-expansion "^2.0.1"
7267-
7268-
minimatch@~3.0.3:
7269-
version "3.0.8"
7270-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.8.tgz#5e6a59bd11e2ab0de1cfb843eb2d82e546c321c1"
7271-
integrity sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==
7272-
dependencies:
7273-
brace-expansion "^1.1.7"
7266+
brace-expansion "^2.0.2"
72747267

72757268
minimist@^1.2.6, minimist@^1.2.8:
72767269
version "1.2.8"

0 commit comments

Comments
 (0)