Skip to content

Commit 80c58e1

Browse files
fix(security): patch forest-express dependency vulnerabilities (#1006)
1 parent af42b74 commit 80c58e1

File tree

2 files changed

+50
-81
lines changed

2 files changed

+50
-81
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"dependencies": {
2828
"@babel/runtime": "7.15.4",
2929
"bluebird": "2.9.25",
30-
"forest-express": "10.1.2",
30+
"forest-express": "10.1.8",
3131
"http-errors": "1.7.2",
3232
"lodash": "4.17.21",
3333
"moment": "2.29.4",

yarn.lock

Lines changed: 49 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,16 +1174,16 @@
11741174
resolved "https://registry.yarnpkg.com/@forestadmin/context/-/context-1.31.0.tgz#b4b5a3b589e52d337a1f45807db22c2860e640a7"
11751175
integrity sha512-RQkDBkq+6ySMv+YNezz9VWSyCsqD7fj/+bXrXhQ6lJ62nbRUIUheH7ApvXwfnwFR1u55oT6Yhar11t6DaiE9Ig==
11761176

1177-
"@forestadmin/[email protected].4":
1178-
version "1.1.4"
1179-
resolved "https://registry.yarnpkg.com/@forestadmin/forestadmin-client/-/forestadmin-client-1.1.4.tgz#757411c85d77706644ab86093096621080549e4f"
1180-
integrity sha512-68iA4uzOlumSBbe7b/QoigDCQH4zt6stBDblRucQJV0Bk09VGKyTD5I83GfQKmJ+EMYzK3WtLGFsBeMB96yfIw==
1177+
"@forestadmin/[email protected].5":
1178+
version "1.1.5"
1179+
resolved "https://registry.yarnpkg.com/@forestadmin/forestadmin-client/-/forestadmin-client-1.1.5.tgz#0b9e29df678a8ca65a4617b201290b0b48b74a10"
1180+
integrity sha512-YjBZMdy/4zwXXnllLd+NCKBc8/em56ovQWtrZZPldcgiP+RoLiDqqQBmtZW9ZZS+y1QZKCJ/4Jszm6+/zU4Kyw==
11811181
dependencies:
11821182
json-api-serializer "^2.6.6"
1183-
jsonwebtoken "^8.5.1"
1184-
lru-cache "^7.3.1"
1183+
jsonwebtoken "^9.0.0"
1184+
lru-cache "^7.14.1"
11851185
object-hash "^3.0.0"
1186-
openid-client "5.2.1"
1186+
openid-client "^5.3.1"
11871187
superagent "^8.0.6"
11881188

11891189
"@gar/promisify@^1.1.3":
@@ -2076,6 +2076,13 @@
20762076
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3"
20772077
integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==
20782078

2079+
"@types/jsonwebtoken@^9":
2080+
version "9.0.1"
2081+
resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-9.0.1.tgz#29b1369c4774200d6d6f63135bf3d1ba3ef997a4"
2082+
integrity sha512-c5ltxazpWabia/4UzhIoaDcIza4KViOQhdbjRlfcIGVnsE3c3brkz9Z+F/EeJIECOQP7W7US2hNE930cWWkPiw==
2083+
dependencies:
2084+
"@types/node" "*"
2085+
20792086
"@types/keyv@^3.1.4":
20802087
version "3.1.4"
20812088
resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6"
@@ -2565,11 +2572,6 @@ async@^2.6.1:
25652572
dependencies:
25662573
lodash "^4.17.14"
25672574

2568-
async@^3.2.2:
2569-
version "3.2.4"
2570-
resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c"
2571-
integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==
2572-
25732575
asynckit@^0.4.0:
25742576
version "0.4.0"
25752577
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
@@ -4283,20 +4285,20 @@ expect@^26.6.2:
42834285
jest-message-util "^26.6.2"
42844286
jest-regex-util "^26.0.0"
42854287

4286-
express-jwt@6.1.2:
4287-
version "6.1.2"
4288-
resolved "https://registry.yarnpkg.com/express-jwt/-/express-jwt-6.1.2.tgz#4a6cc11d1dcff6f23126dd79ec5b2b441333e78b"
4289-
integrity sha512-l5dlf5lNM/1EODMsJGfHn1VnrhhsUYEetzrKFStJZLjFQXtR+HGdBiW+jUNZ+ISsFe+h7Wl/hQKjLrY2TX0Qkg==
4288+
express-jwt@8.3.0:
4289+
version "8.3.0"
4290+
resolved "https://registry.yarnpkg.com/express-jwt/-/express-jwt-8.3.0.tgz#fd317bb52bbe06bdd55afb8dad6bc65b44d39e14"
4291+
integrity sha512-3eMAlhv240YOzI0WRbufa2oBc6xR29GVY4HZ6AZfJQGnTtelXBmFRYPk+BojSdTa5JLlu9LVmOrTJRI9yg54ww==
42904292
dependencies:
4291-
async "^3.2.2"
4292-
express-unless "^1.0.0"
4293-
jsonwebtoken "^8.1.0"
4294-
lodash "^4.17.21"
4293+
"@types/jsonwebtoken" "^9"
4294+
express-unless "^2.1.3"
4295+
jsonwebtoken "^9.0.0"
4296+
lodash.set "^4.3.2"
42954297

4296-
express-unless@^1.0.0:
4297-
version "1.0.0"
4298-
resolved "https://registry.yarnpkg.com/express-unless/-/express-unless-1.0.0.tgz#ecd1c354c5ccf7709a8a17ece617934e037cccd8"
4299-
integrity sha512-zXSSClWBPfcSYjg0hcQNompkFN/MxQQ53eyrzm9BYgik2ut2I7PxAf2foVqBRMYCwWaZx/aWodi+uk76npdSAw==
4298+
express-unless@^2.1.3:
4299+
version "2.1.3"
4300+
resolved "https://registry.yarnpkg.com/express-unless/-/express-unless-2.1.3.tgz#f951c6cca52a24da3de32d42cfd4db57bc0f9a2e"
4301+
integrity sha512-wj4tLMyCVYuIIKHGt0FhCtIViBcwzWejX0EjNxveAa6dG+0XBCQhMbx+PnkLkFCxLC69qoFrxds4pIyL88inaQ==
43004302

43014303
express@^4.18.2:
43024304
version "4.18.2"
@@ -4554,14 +4556,14 @@ for-in@^1.0.2:
45544556
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
45554557
integrity sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==
45564558

4557-
4558-
version "10.1.2"
4559-
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-10.1.2.tgz#467abebc8dcabac0ae4753aa5719d50a0d236796"
4560-
integrity sha512-3BF/nzRh7HCeQxX35pxRfT2TktvlJ3rVNEefMENDF9f94U38eFEYl/k8B89iXa3VB6EPy2SaQl+bpdUw54uOOg==
4559+
4560+
version "10.1.8"
4561+
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-10.1.8.tgz#9d87ee2117aac3533f1134d596faf60a9ba69dfc"
4562+
integrity sha512-ny3+ixPMtSal/TtYjAJFW4d/n1bGua9xzGtO65p5yGISps5xW+OFPr29R5kItXVL7qyRcGGVB6Z9k3o6iI7qlg==
45614563
dependencies:
45624564
"@babel/runtime" "7.19.0"
45634565
"@forestadmin/context" "1.31.0"
4564-
"@forestadmin/forestadmin-client" "1.1.4"
4566+
"@forestadmin/forestadmin-client" "1.1.5"
45654567
base32-encode "1.1.1"
45664568
bitwise-xor "0.0.0"
45674569
bluebird "3.7.1"
@@ -4570,17 +4572,17 @@ [email protected]:
45704572
cors "2.8.5"
45714573
csv-stringify "1.0.4"
45724574
express "^4.18.2"
4573-
express-jwt "6.1.2"
4575+
express-jwt "8.3.0"
45744576
forest-ip-utils "1.0.1"
45754577
http-errors "1.7.3"
45764578
inflected "2.0.4"
45774579
ip-regex "4.3.0"
45784580
ipaddr.js "2.0.0"
45794581
jsonapi-serializer "3.6.5"
4580-
jsonwebtoken "8.5.1"
4582+
jsonwebtoken "9.0.0"
45814583
lodash "4.17.21"
45824584
moment "2.29.4"
4583-
moment-timezone "0.5.34"
4585+
moment-timezone "0.5.40"
45844586
object-hash "^3.0.0"
45854587
openid-client "4.2.0"
45864588
otplib "11.0.1"
@@ -6361,21 +6363,15 @@ jsonparse@^1.2.0, jsonparse@^1.3.1:
63616363
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
63626364
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
63636365

6364-
jsonwebtoken@8.5.1, jsonwebtoken@^8.1.0, jsonwebtoken@^8.5.1:
6365-
version "8.5.1"
6366-
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#00e71e0b8df54c2121a1f26137df2280673bcc0d"
6367-
integrity sha512-XjwVfRS6jTMsqYs0EsuJ4LGxXV14zQybNd4L2r0UvbVnSF9Af8x7p5MzbJ90Ioz/9TI41/hTCvznF/loiSzn8w==
6366+
jsonwebtoken@9.0.0, jsonwebtoken@^9.0.0:
6367+
version "9.0.0"
6368+
resolved "https://registry.yarnpkg.com/jsonwebtoken/-/jsonwebtoken-9.0.0.tgz#d0faf9ba1cc3a56255fe49c0961a67e520c1926d"
6369+
integrity sha512-tuGfYXxkQGDPnLJ7SibiQgVgeDgfbPq2k2ICcbgqW8WxWLBAxKQM/ZCu/IT8SOSwmaYl4dpTFCW5xZv7YbbWUw==
63686370
dependencies:
63696371
jws "^3.2.2"
6370-
lodash.includes "^4.3.0"
6371-
lodash.isboolean "^3.0.3"
6372-
lodash.isinteger "^4.0.4"
6373-
lodash.isnumber "^3.0.3"
6374-
lodash.isplainobject "^4.0.6"
6375-
lodash.isstring "^4.0.1"
6376-
lodash.once "^4.0.0"
6372+
lodash "^4.17.21"
63776373
ms "^2.1.1"
6378-
semver "^5.6.0"
6374+
semver "^7.3.8"
63796375

63806376
just-diff-apply@^5.2.0:
63816377
version "5.5.0"
@@ -6692,31 +6688,11 @@ lodash.get@^4.0.0:
66926688
resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
66936689
integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==
66946690

6695-
lodash.includes@^4.3.0:
6696-
version "4.3.0"
6697-
resolved "https://registry.yarnpkg.com/lodash.includes/-/lodash.includes-4.3.0.tgz#60bb98a87cb923c68ca1e51325483314849f553f"
6698-
integrity sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==
6699-
6700-
lodash.isboolean@^3.0.3:
6701-
version "3.0.3"
6702-
resolved "https://registry.yarnpkg.com/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz#6c2e171db2a257cd96802fd43b01b20d5f5870f6"
6703-
integrity sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==
6704-
6705-
lodash.isinteger@^4.0.4:
6706-
version "4.0.4"
6707-
resolved "https://registry.yarnpkg.com/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz#619c0af3d03f8b04c31f5882840b77b11cd68343"
6708-
integrity sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==
6709-
67106691
lodash.ismatch@^4.4.0:
67116692
version "4.4.0"
67126693
resolved "https://registry.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
67136694
integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==
67146695

6715-
lodash.isnumber@^3.0.3:
6716-
version "3.0.3"
6717-
resolved "https://registry.yarnpkg.com/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz#3ce76810c5928d03352301ac287317f11c0b1ffc"
6718-
integrity sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==
6719-
67206696
lodash.isplainobject@^4.0.6:
67216697
version "4.0.6"
67226698
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
@@ -6727,10 +6703,10 @@ lodash.isstring@^4.0.1:
67276703
resolved "https://registry.yarnpkg.com/lodash.isstring/-/lodash.isstring-4.0.1.tgz#d527dfb5456eca7cc9bb95d5daeaf88ba54a5451"
67286704
integrity sha1-1SfftUVuynzJu5XV2ur4i6VKVFE=
67296705

6730-
lodash.once@^4.0.0:
6731-
version "4.1.1"
6732-
resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac"
6733-
integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==
6706+
lodash.set@^4.3.2:
6707+
version "4.3.2"
6708+
resolved "https://registry.yarnpkg.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
6709+
integrity sha512-4hNPN5jlm/N/HLMCO43v8BXKq9Z7QdAGc/VGrRD61w8gN9g/6jF9A4L1pbUgBLCffi0w9VsXfTOij5x8iTyFvg==
67346710

67356711
lodash.uniqby@^4.7.0:
67366712
version "4.7.0"
@@ -6787,7 +6763,7 @@ lru-cache@^6.0.0:
67876763
dependencies:
67886764
yallist "^4.0.0"
67896765

6790-
lru-cache@^7.3.1, lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1:
6766+
lru-cache@^7.14.1, lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1:
67916767
version "7.14.1"
67926768
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea"
67936769
integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==
@@ -7284,13 +7260,6 @@ modify-values@^1.0.0:
72847260
resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
72857261
integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==
72867262

7287-
7288-
version "0.5.34"
7289-
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.34.tgz#a75938f7476b88f155d3504a9343f7519d9a405c"
7290-
integrity sha512-3zAEHh2hKUs3EXLESx/wsgw6IQdusOT8Bxm3D9UrHPQR7zlMmzwybC8zHEM1tQ4LJwP7fcxrWr8tuBg05fFCbg==
7291-
dependencies:
7292-
moment ">= 2.9.0"
7293-
72947263
72957264
version "0.5.40"
72967265
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.40.tgz#c148f5149fd91dd3e29bf481abc8830ecba16b89"
@@ -7858,10 +7827,10 @@ [email protected]:
78587827
oidc-token-hash "^5.0.0"
78597828
p-any "^3.0.0"
78607829

7861-
openid-client@5.2.1:
7862-
version "5.2.1"
7863-
resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-5.2.1.tgz#dd26298aca237625298ef34ff11ad9276917df28"
7864-
integrity sha512-KPxqWnxobG/70Cxqyvd43RWfCfHedFnCdHSBpw5f7WnTnuBAeBnvot/BIo+brrcTr0wyAYUlL/qejQSGwWtdIg==
7830+
openid-client@^5.3.1:
7831+
version "5.3.2"
7832+
resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-5.3.2.tgz#fcc2c16f9681fa5f03ee0581b0935f88fc49f11f"
7833+
integrity sha512-nXXt+cna0XHOw+WqjMZOmuXw/YZEMwfWD2lD7tCsFtsBjMQGVXA+NZABA3upYBET1suhIsmfd7GnxG4jCAnvYQ==
78657834
dependencies:
78667835
jose "^4.10.0"
78677836
lru-cache "^6.0.0"

0 commit comments

Comments
 (0)