Skip to content

Commit a02d765

Browse files
antonisclaudelucas-zimerman
authored
chore(deps): bump ajv to fix ReDoS in $data option (#5710)
* chore(deps): bump ajv to fix ReDoS vulnerabilities Uses scoped yarn resolutions to bump ajv: - eslint/eslintrc consumers: 6.12.6 → 6.14.0 (fixes alert #423) - appium, detox, expo-dev-launcher: → 8.18.0 (fixes alert #424) Parent-scoped resolutions avoid the unscoped override that would force eslint onto incompatible ajv v8. https://github.com/getsentry/sentry-react-native/security/dependabot/423 https://github.com/getsentry/sentry-react-native/security/dependabot/424 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: add ajv-formats scoped resolution to cover remaining vulnerable ajv 8.17.1 ajv-formats@2.1.1 (via appium) depends on ajv@^8.0.0 which was still resolving to vulnerable 8.17.1. Adding a scoped resolution for ajv-formats ensures it also gets ajv 8.18.0. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: LucasZF <lucas-zimerman1@hotmail.com>
1 parent c409c4a commit a02d765

File tree

2 files changed

+23
-26
lines changed

2 files changed

+23
-26
lines changed

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@
6060
],
6161
"resolutions": {
6262
"appium-chromedriver@npm:5.6.73/@xmldom/xmldom": "0.8.10",
63+
"ajv-formats@npm:2.1.1/ajv": "^8.18.0",
64+
"appium@npm:2.4.1/ajv": "^8.18.0",
65+
"detox@npm:20.46.0/ajv": "^8.18.0",
66+
"expo-dev-launcher@npm:6.0.20/ajv": "^8.18.0",
67+
"@eslint/eslintrc@npm:2.1.4/ajv": "^6.14.0",
68+
"@eslint/eslintrc@npm:3.3.3/ajv": "^6.14.0",
69+
"eslint@npm:8.57.0/ajv": "^6.14.0",
70+
"eslint@npm:8.57.1/ajv": "^6.14.0",
71+
"eslint@npm:9.39.2/ajv": "^6.14.0",
6372
"express@npm:4.19.2/path-to-regexp": "0.1.12",
6473
"axios": "^1.13.5",
6574
"fast-xml-parser": "^5.3.6",

yarn.lock

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13682,39 +13682,27 @@ __metadata:
1368213682
languageName: node
1368313683
linkType: hard
1368413684

13685-
"ajv@npm:8.12.0":
13686-
version: 8.12.0
13687-
resolution: "ajv@npm:8.12.0"
13685+
"ajv@npm:^6.14.0":
13686+
version: 6.14.0
13687+
resolution: "ajv@npm:6.14.0"
1368813688
dependencies:
1368913689
fast-deep-equal: ^3.1.1
13690-
json-schema-traverse: ^1.0.0
13691-
require-from-string: ^2.0.2
13690+
fast-json-stable-stringify: ^2.0.0
13691+
json-schema-traverse: ^0.4.1
1369213692
uri-js: ^4.2.2
13693-
checksum: 4dc13714e316e67537c8b31bc063f99a1d9d9a497eb4bbd55191ac0dcd5e4985bbb71570352ad6f1e76684fb6d790928f96ba3b2d4fd6e10024be9612fe3f001
13694-
languageName: node
13695-
linkType: hard
13696-
13697-
"ajv@npm:^6.12.4":
13698-
version: 6.12.6
13699-
resolution: "ajv@npm:6.12.6"
13700-
dependencies:
13701-
fast-deep-equal: "npm:^3.1.1"
13702-
fast-json-stable-stringify: "npm:^2.0.0"
13703-
json-schema-traverse: "npm:^0.4.1"
13704-
uri-js: "npm:^4.2.2"
13705-
checksum: 874972efe5c4202ab0a68379481fbd3d1b5d0a7bd6d3cc21d40d3536ebff3352a2a1fabb632d4fd2cc7fe4cbdcd5ed6782084c9bbf7f32a1536d18f9da5007d4
13693+
checksum: 7bb3ea97bb8af52521589079f427e799b6561acaa94f50e13410cb87588c51df8db1afe1157b3e48f1a829269adaa11116e0c2cafe2b998add1523789809a3c5
1370613694
languageName: node
1370713695
linkType: hard
1370813696

13709-
"ajv@npm:^8.0.0, ajv@npm:^8.11.0, ajv@npm:^8.6.3":
13710-
version: 8.17.1
13711-
resolution: "ajv@npm:8.17.1"
13697+
"ajv@npm:^8.18.0":
13698+
version: 8.18.0
13699+
resolution: "ajv@npm:8.18.0"
1371213700
dependencies:
13713-
fast-deep-equal: "npm:^3.1.3"
13714-
fast-uri: "npm:^3.0.1"
13715-
json-schema-traverse: "npm:^1.0.0"
13716-
require-from-string: "npm:^2.0.2"
13717-
checksum: 1797bf242cfffbaf3b870d13565bd1716b73f214bb7ada9a497063aada210200da36e3ed40237285f3255acc4feeae91b1fb183625331bad27da95973f7253d9
13701+
fast-deep-equal: ^3.1.3
13702+
fast-uri: ^3.0.1
13703+
json-schema-traverse: ^1.0.0
13704+
require-from-string: ^2.0.2
13705+
checksum: bcdf6c7b040ca488108e2b4e219b31cf9ed478331007d4dd1ed8acc3946dd6b84295817c0f4724207b8dd8589c9966168b2fd4c7f32109d4b8526cdd3743e936
1371813706
languageName: node
1371913707
linkType: hard
1372013708

0 commit comments

Comments
 (0)