Skip to content

Commit bafdd76

Browse files
committed
Bump joi to v14 to avoid the possibility of prototype poisoning in a nested dependency
Signed-off-by: Miki <miki@amazon.com>
1 parent 755f16b commit bafdd76

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
2222
- [CVE-2023-25653] Bump node-jose to 2.2.0 ([#3445](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3445))
2323
- [CVE-2023-26486][cve-2023-26487] Bump vega from 5.22.1 to 5.23.0 ([#3533](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3533))
2424
- [CVE-2023-0842] Bump xml2js from 0.4.23 to 0.5.0 ([#3842](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3842))
25-
- [Multi DataSource] Add private IP blocking validation on server side([#3912](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3912))
25+
- [Multi DataSource] Add private IP blocking validation on server side ([#3912](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3912))
26+
- Bump joi to v14 to avoid the possibility of prototype poisoning in a nested dependency ([#3952](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/3952))
2627

2728
### 📈 Features/Enhancements
2829

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
"https-proxy-agent": "^5.0.0",
184184
"inline-style": "^2.0.0",
185185
"ip-cidr": "^2.1.0",
186-
"joi": "^13.5.2",
186+
"joi": "^14.3.1",
187187
"js-yaml": "^4.1.0",
188188
"json-stable-stringify": "^1.0.1",
189189
"json-stringify-safe": "5.0.1",

packages/osd-test/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"exit-hook": "^2.2.0",
3232
"getopts": "^2.2.5",
3333
"glob": "^7.1.7",
34-
"joi": "^13.5.2",
34+
"joi": "^14.3.1",
3535
"lodash": "^4.17.21",
3636
"parse-link-header": "^2.0.0",
3737
"rxjs": "^6.5.5",

yarn.lock

+5-10
Original file line numberDiff line numberDiff line change
@@ -9589,11 +9589,6 @@ hmac-drbg@^1.0.1:
95899589
minimalistic-assert "^1.0.0"
95909590
minimalistic-crypto-utils "^1.0.1"
95919591

9592-
hoek@5.x.x:
9593-
version "5.0.4"
9594-
resolved "https://registry.yarnpkg.com/hoek/-/hoek-5.0.4.tgz#0f7fa270a1cafeb364a4b2ddfaa33f864e4157da"
9595-
integrity sha512-Alr4ZQgoMlnere5FZJsIyfIjORBqZll5POhDsF4q64dPuJR6rNxXdDxtHSQq8OXRurhmx+PWYEE8bXRROY8h0w==
9596-
95979592
hoek@6.x.x:
95989593
version "6.1.3"
95999594
resolved "https://registry.yarnpkg.com/hoek/-/hoek-6.1.3.tgz#73b7d33952e01fe27a38b0457294b79dd8da242c"
@@ -11187,12 +11182,12 @@ jmespath@0.16.0:
1118711182
resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.16.0.tgz#b15b0a85dfd4d930d43e69ed605943c802785076"
1118811183
integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==
1118911184

11190-
joi@^13.5.2:
11191-
version "13.7.0"
11192-
resolved "https://registry.yarnpkg.com/joi/-/joi-13.7.0.tgz#cfd85ebfe67e8a1900432400b4d03bbd93fb879f"
11193-
integrity sha512-xuY5VkHfeOYK3Hdi91ulocfuFopwgbSORmIwzcwHKESQhC7w1kD5jaVSPnqDxS2I8t3RZ9omCKAxNwXN5zG1/Q==
11185+
joi@^14.3.1:
11186+
version "14.3.1"
11187+
resolved "https://registry.yarnpkg.com/joi/-/joi-14.3.1.tgz#164a262ec0b855466e0c35eea2a885ae8b6c703c"
11188+
integrity sha512-LQDdM+pkOrpAn4Lp+neNIFV3axv1Vna3j38bisbQhETPMANYRbFJFUyOZcOClYvM/hppMhGWuKSFEK9vjrB+bQ==
1119411189
dependencies:
11195-
hoek "5.x.x"
11190+
hoek "6.x.x"
1119611191
isemail "3.x.x"
1119711192
topo "3.x.x"
1119811193

0 commit comments

Comments
 (0)