Skip to content

Commit b6b15ab

Browse files
BPapp-MSCopilot
andcommitted
chore: add pnpm override to floor js-yaml at >=3.14.2 for CVE compliance
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4e87cfd commit b6b15ab

5 files changed

Lines changed: 31 additions & 23 deletions

File tree

common/config/rush/pnpm-config.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,13 @@
252252
"loader-utils@^2.0.0": "2.0.4",
253253

254254
// `fast-xml-parser@5.3.3` has a vulnerability
255-
"fast-xml-parser@^5.3.3": "5.3.5"
255+
"fast-xml-parser@^5.3.3": "5.3.5",
256+
257+
// `js-yaml@<3.13.1` has multiple vulnerabilities (CVE-2019-7177, CVE-2023-2251).
258+
// 3.x is EOL but still pulled in transitively by eslint 7.x and tslint 5.x.
259+
// Cannot override to 4.x because safeLoad() was removed (breaking API change).
260+
// This floor prevents regression to any vulnerable 3.x version.
261+
"js-yaml@^3": ">=3.14.2"
256262
},
257263

258264
/**

common/config/subspaces/build-tests-subspace/pnpm-lock.yaml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "ae06e3ff5f65c89fd6b5c88cb4bce597f4a5aa18",
3+
"pnpmShrinkwrapHash": "c37cdad9db0f53fb5517605d84018e14f614bc3a",
44
"preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9",
55
"packageJsonInjectedDependenciesHash": "fa90a0a032a0046e646e8751bbc6d0be86a4dda1"
66
}

common/config/subspaces/default/pnpm-lock.yaml

Lines changed: 21 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush.
22
{
3-
"pnpmShrinkwrapHash": "c482c23c40b202ed750549c796c24b3550d0ba6e",
3+
"pnpmShrinkwrapHash": "ea42860c463f2c0cdef95fc183bd65cd74fc62b1",
44
"preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c"
55
}

0 commit comments

Comments
 (0)