Skip to content

Commit 10c0bae

Browse files
authored
[CVE-2024-45590][CVE-2024-45296] Resolve two cves for 1.3 (#9007)
Signed-off-by: Anan Zhuang <ananzh@amazon.com>
1 parent 6094990 commit 10c0bae

File tree

2 files changed

+25
-80
lines changed

2 files changed

+25
-80
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"**/ajv": "^6.12.6",
9090
"**/ansi-html": "^0.0.8",
9191
"**/ansi-regex": "^5.0.1",
92+
"**/body-parser": "^1.20.3",
9293
"!chromedriver/**/axios": "^0.21.4",
9394
"chromedriver/**/axios": "^0.27.2",
9495
"chromedriver/**/debug": "^4.3.1",
@@ -133,7 +134,10 @@
133134
"**/url-parse": "^1.5.8",
134135
"**/unset-value": "^2.0.1",
135136
"**/xml2js": "^0.6.2",
136-
"**/@babel/traverse": "^7.23.2"
137+
"**/@babel/traverse": "^7.23.2",
138+
"fetch-mock/path-to-regexp": "^3.3.0",
139+
"**/nise/path-to-regexp": "^1.9.0",
140+
"**/express/path-to-regexp": "^0.1.10"
137141
},
138142
"workspaces": {
139143
"packages": [

yarn.lock

Lines changed: 20 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -5194,10 +5194,10 @@ bn.js@^5.0.0, bn.js@^5.2.1:
51945194
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70"
51955195
integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==
51965196

5197-
body-parser@1.20.2:
5198-
version "1.20.2"
5199-
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.2.tgz#6feb0e21c4724d06de7ff38da36dad4f57a747fd"
5200-
integrity sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==
5197+
body-parser@1.20.2, body-parser@^1.18.3, body-parser@^1.20.3:
5198+
version "1.20.3"
5199+
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.3.tgz#1953431221c6fb5cd63c4b36d53fab0928e548c6"
5200+
integrity sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==
52015201
dependencies:
52025202
bytes "3.1.2"
52035203
content-type "~1.0.5"
@@ -5207,27 +5207,11 @@ body-parser@1.20.2:
52075207
http-errors "2.0.0"
52085208
iconv-lite "0.4.24"
52095209
on-finished "2.4.1"
5210-
qs "6.11.0"
5210+
qs "6.13.0"
52115211
raw-body "2.5.2"
52125212
type-is "~1.6.18"
52135213
unpipe "1.0.0"
52145214

5215-
body-parser@^1.18.3:
5216-
version "1.19.0"
5217-
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
5218-
integrity sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==
5219-
dependencies:
5220-
bytes "3.1.0"
5221-
content-type "~1.0.4"
5222-
debug "2.6.9"
5223-
depd "~1.1.2"
5224-
http-errors "1.7.2"
5225-
iconv-lite "0.4.24"
5226-
on-finished "~2.3.0"
5227-
qs "6.7.0"
5228-
raw-body "2.4.0"
5229-
type-is "~1.6.17"
5230-
52315215
body@^5.1.0:
52325216
version "5.1.0"
52335217
resolved "https://registry.yarnpkg.com/body/-/body-5.1.0.tgz#e4ba0ce410a46936323367609ecb4e6553125069"
@@ -5536,11 +5520,6 @@ bytes@3.0.0:
55365520
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
55375521
integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=
55385522

5539-
bytes@3.1.0:
5540-
version "3.1.0"
5541-
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
5542-
integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==
5543-
55445523
bytes@3.1.2:
55455524
version "3.1.2"
55465525
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5"
@@ -11398,17 +11377,6 @@ http-deceiver@^1.2.7:
1139811377
resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87"
1139911378
integrity sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=
1140011379

11401-
http-errors@1.7.2:
11402-
version "1.7.2"
11403-
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f"
11404-
integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==
11405-
dependencies:
11406-
depd "~1.1.2"
11407-
inherits "2.0.3"
11408-
setprototypeof "1.1.1"
11409-
statuses ">= 1.5.0 < 2"
11410-
toidentifier "1.0.0"
11411-
1141211380
http-errors@2.0.0:
1141311381
version "2.0.0"
1141411382
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3"
@@ -15952,13 +15920,6 @@ on-finished@2.4.1:
1595215920
dependencies:
1595315921
ee-first "1.1.1"
1595415922

15955-
on-finished@~2.3.0:
15956-
version "2.3.0"
15957-
resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
15958-
integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=
15959-
dependencies:
15960-
ee-first "1.1.1"
15961-
1596215923
on-headers@~1.0.2:
1596315924
version "1.0.2"
1596415925
resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f"
@@ -16628,22 +16589,22 @@ path-root@^0.1.1:
1662816589
dependencies:
1662916590
path-root-regex "^0.1.0"
1663016591

16631-
path-to-regexp@0.1.7:
16632-
version "0.1.7"
16633-
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
16634-
integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=
16592+
path-to-regexp@0.1.7, path-to-regexp@^0.1.10:
16593+
version "0.1.11"
16594+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.11.tgz#a527e662c89efc4646dbfa8100bf3e847e495761"
16595+
integrity sha512-c0t+KCuUkO/YDLPG4WWzEwx3J5F/GHXsD1h/SNZfySqAIKe/BaP95x8fWtOfRJokpS5yYHRJjMtYlXD8jxnpbw==
1663516596

16636-
path-to-regexp@^1.7.0:
16637-
version "1.7.0"
16638-
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
16639-
integrity sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=
16597+
path-to-regexp@^1.7.0, path-to-regexp@^1.9.0:
16598+
version "1.9.0"
16599+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.9.0.tgz#5dc0753acbf8521ca2e0f137b4578b917b10cf24"
16600+
integrity sha512-xIp7/apCFJuUHdDLWe8O1HIkb0kQrOMb/0u6FXQjemHn/ii5LrIzU6bdECnsiTF/GjZkMEKg1xdiZwNqDYlZ6g==
1664016601
dependencies:
1664116602
isarray "0.0.1"
1664216603

16643-
path-to-regexp@^2.2.1:
16644-
version "2.4.0"
16645-
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.4.0.tgz#35ce7f333d5616f1c1e1bfe266c3aba2e5b2e704"
16646-
integrity sha512-G6zHoVqC6GGTQkZwF4lkuEyMbVOjoBKAEybQUypI1WTkqinCOrq2x6U2+phkJ1XsEMTy4LjtwPI7HW+NVrRR2w==
16604+
path-to-regexp@^2.2.1, path-to-regexp@^3.3.0:
16605+
version "3.3.0"
16606+
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-3.3.0.tgz#f7f31d32e8518c2660862b644414b6d5c63a611b"
16607+
integrity sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==
1664716608

1664816609
path-type@^1.0.0:
1664916610
version "1.1.0"
@@ -17246,7 +17207,7 @@ puppeteer@^5.3.1:
1724617207
unbzip2-stream "^1.3.3"
1724717208
ws "^7.2.3"
1724817209

17249-
qs@6.11.0, qs@6.7.0, qs@^6.11.0, qs@^6.4.0, qs@~6.5.2:
17210+
qs@6.11.0, qs@6.13.0, qs@^6.11.0, qs@^6.4.0, qs@~6.5.2:
1725017211
version "6.11.0"
1725117212
resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a"
1725217213
integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==
@@ -17354,16 +17315,6 @@ range-parser@^1.2.1, range-parser@~1.2.1:
1735417315
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
1735517316
integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
1735617317

17357-
raw-body@2.4.0:
17358-
version "2.4.0"
17359-
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332"
17360-
integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==
17361-
dependencies:
17362-
bytes "3.1.0"
17363-
http-errors "1.7.2"
17364-
iconv-lite "0.4.24"
17365-
unpipe "1.0.0"
17366-
1736717318
raw-body@2.5.2:
1736817319
version "2.5.2"
1736917320
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.2.tgz#99febd83b90e08975087e8f1f9419a149366b68a"
@@ -19150,11 +19101,6 @@ setprototypeof@1.1.0:
1915019101
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
1915119102
integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==
1915219103

19153-
setprototypeof@1.1.1:
19154-
version "1.1.1"
19155-
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
19156-
integrity sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==
19157-
1915819104
setprototypeof@1.2.0:
1915919105
version "1.2.0"
1916019106
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424"
@@ -19734,7 +19680,7 @@ statuses@2.0.1:
1973419680
resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63"
1973519681
integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==
1973619682

19737-
"statuses@>= 1.4.0 < 2", "statuses@>= 1.5.0 < 2":
19683+
"statuses@>= 1.4.0 < 2":
1973819684
version "1.5.0"
1973919685
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
1974019686
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
@@ -20736,11 +20682,6 @@ toggle-selection@^1.0.6:
2073620682
resolved "https://registry.yarnpkg.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32"
2073720683
integrity sha1-bkWxJj8gF/oKzH2J14sVuL932jI=
2073820684

20739-
toidentifier@1.0.0:
20740-
version "1.0.0"
20741-
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
20742-
integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
20743-
2074420685
toidentifier@1.0.1:
2074520686
version "1.0.1"
2074620687
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35"
@@ -20986,7 +20927,7 @@ type-fest@^0.8.1:
2098620927
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
2098720928
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==
2098820929

20989-
type-is@~1.6.17, type-is@~1.6.18:
20930+
type-is@~1.6.18:
2099020931
version "1.6.18"
2099120932
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
2099220933
integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==

0 commit comments

Comments
 (0)