Skip to content

Commit ca170ff

Browse files
authored
fix: Resolve frontend security vulnerabilities in lodash and lodash-es (#27105)
* fix: Resolve frontend security vulnerabilities in lodash and lodash-es * fix(security): bump lodash and lodash-es to 4.18.1 across all workspaces
1 parent 686fe6c commit ca170ff

6 files changed

Lines changed: 26 additions & 21 deletions

File tree

openmetadata-ui-core-components/src/main/resources/ui/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,9 @@
152152
"prettier": "2.8.8"
153153
},
154154
"resolutions": {
155-
"rollup": "4.59.0",
156-
"minimatch": "10.2.3"
155+
"lodash": "4.18.1",
156+
"minimatch": "10.2.3",
157+
"rollup": "4.59.0"
157158
},
158159
"publishConfig": {
159160
"access": "restricted",

openmetadata-ui-core-components/src/main/resources/ui/yarn.lock

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4809,10 +4809,10 @@ lodash.merge@^4.6.2:
48094809
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a"
48104810
integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==
48114811

4812-
lodash@^4.17.21, lodash@~4.17.23:
4813-
version "4.17.23"
4814-
resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz"
4815-
integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
4812+
lodash@4.18.1, lodash@^4.17.21, lodash@~4.17.23:
4813+
version "4.18.1"
4814+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
4815+
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
48164816

48174817
loose-envify@^1.1.0, loose-envify@^1.4.0:
48184818
version "1.4.0"
@@ -5729,6 +5729,7 @@ string-argv@~0.3.1:
57295729
integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==
57305730

57315731
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
5732+
name string-width-cjs
57325733
version "4.2.3"
57335734
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz"
57345735
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -5806,6 +5807,7 @@ string.prototype.trimstart@^1.0.8:
58065807
es-object-atoms "^1.0.0"
58075808

58085809
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
5810+
name strip-ansi-cjs
58095811
version "6.0.1"
58105812
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz"
58115813
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==

openmetadata-ui/src/main/resources/ui/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
"js-yaml": "^4.1.1",
127127
"jwt-decode": "^3.1.2",
128128
"katex": "^0.16.21",
129-
"lodash": "^4.17.23",
129+
"lodash": "4.18.1",
130130
"luxon": "^3.2.1",
131131
"notistack": "^3.0.2",
132132
"oidc-client": "^1.11.5",
@@ -295,8 +295,8 @@
295295
"form-data": "3.0.4",
296296
"tar-fs": "2.1.4",
297297
"js-yaml": "4.1.1",
298-
"lodash": ">=4.17.23",
299-
"lodash-es": ">=4.18.1",
298+
"lodash": "4.18.1",
299+
"lodash-es": "4.18.1",
300300
"markdown-it": ">=14.1.1"
301301
}
302302
}

openmetadata-ui/src/main/resources/ui/yarn.lock

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,9 +2440,8 @@
24402440
compare-versions "^4.1.2"
24412441

24422442
"@openmetadata/ui-core-components@link:../../../../../openmetadata-ui-core-components/src/main/resources/ui":
2443-
version "1.0.0"
2444-
dependencies:
2445-
"@material/material-color-utilities" "^0.3.0"
2443+
version "0.0.0"
2444+
uid ""
24462445

24472446
"@peculiar/asn1-schema@^2.3.13", "@peculiar/asn1-schema@^2.3.8":
24482447
version "2.6.0"
@@ -10291,7 +10290,7 @@ locate-path@^6.0.0:
1029110290
dependencies:
1029210291
p-locate "^5.0.0"
1029310292

10294-
lodash-es@>=4.17.23, lodash-es@^4.17.21:
10293+
lodash-es@4.18.1, lodash-es@^4.17.21:
1029510294
version "4.18.1"
1029610295
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.18.1.tgz#b962eeb80d9d983a900bf342961fb7418ca10b1d"
1029710296
integrity sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==
@@ -10326,10 +10325,10 @@ lodash.throttle@^4.1.1:
1032610325
resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
1032710326
integrity sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==
1032810327

10329-
lodash@>=4.17.21, lodash@>=4.17.23, lodash@^4.15.0, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.23, lodash@^4.17.4:
10330-
version "4.17.23"
10331-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a"
10332-
integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
10328+
lodash@4.18.1, lodash@>=4.17.21, lodash@^4.15.0, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4:
10329+
version "4.18.1"
10330+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
10331+
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
1033310332

1033410333
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
1033510334
version "1.4.0"

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"devDependencies": {
1414
"quicktype": "20.0.27"
1515
},
16+
"resolutions": {
17+
"lodash": "4.18.1"
18+
},
1619
"scripts": {
1720
"preinstall": "yarn global add node-gyp@10.0.1",
1821
"test": "echo \"Error: no test specified\" && exit 1"

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,10 @@ lodash.camelcase@^4.3.0:
386386
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6"
387387
integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==
388388

389-
lodash@^4.17.21:
390-
version "4.17.23"
391-
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.23.tgz#f113b0378386103be4f6893388c73d0bde7f2c5a"
392-
integrity sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==
389+
lodash@4.18.1, lodash@^4.17.21:
390+
version "4.18.1"
391+
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.18.1.tgz#ff2b66c1f6326d59513de2407bf881439812771c"
392+
integrity sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==
393393

394394
make-error@^1.1.1:
395395
version "1.3.6"

0 commit comments

Comments
 (0)