Skip to content

Commit aad07a8

Browse files
rlyerlymeta-codesync[bot]
authored andcommitted
Fix axios vulnerability in CacheLib website
Summary: Update axios yarn resolution from ^0.30.3 to ^1.14.0 to fix medium-severity vulnerability (CVE-2026-39865, GHSA-qj83-cq47-w5f8) in versions < 1.13.2. Added wait-on ^7.2.0 resolution for axios 1.x compatibility, since the transitive dependency through docusaurus/core uses wait-on which requires a compatible axios version. Resolves to axios 1.15.0, which also fixes the additional vulnerability (affected versions < 1.15.0) noted in the task comments. Changes: - Updated axios resolution from ^0.30.3 to ^1.14.0 in package.json - Added wait-on ^7.2.0 resolution for axios 1.x compatibility - Regenerated yarn.lock - Added axios-1.15.0.tgz to offline mirror Reviewed By: AlnisM Differential Revision: D100248017 fbshipit-source-id: 7d74587ed2c49fdc5e31ebb155f170f92eaaba20
1 parent b17c2ee commit aad07a8

2 files changed

Lines changed: 61 additions & 27 deletions

File tree

website/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"mermaid": "^10.9.3",
5858
"http-proxy-middleware": "^2.0.7",
5959
"cross-spawn": "^7.0.5",
60-
"axios": "^0.30.3",
60+
"axios": "^1.14.0",
61+
"wait-on": "^7.2.0",
6162
"**/express/path-to-regexp": "0.1.13",
6263
"node-forge": "^1.4.0",
6364
"flatted": "^3.4.2",

website/yarn.lock

Lines changed: 59 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,7 +2227,12 @@
22272227
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.2.1.tgz#9551142a1980503752536b5050fd99f4a7f13b17"
22282228
integrity sha512-gfta+H8aziZsm8pZa0vj04KO6biEiisppNgA1kbJvFrrWu9Vm7eaUEy76DIxsuTaWvti5fkJVhllWc6ZTE+Mdw==
22292229

2230-
"@hapi/topo@^5.0.0":
2230+
"@hapi/hoek@^9.3.0":
2231+
version "9.3.0"
2232+
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
2233+
integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==
2234+
2235+
"@hapi/topo@^5.0.0", "@hapi/topo@^5.1.0":
22312236
version "5.1.0"
22322237
resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012"
22332238
integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==
@@ -2554,11 +2559,23 @@
25542559
dependencies:
25552560
"@hapi/hoek" "^9.0.0"
25562561

2562+
"@sideway/address@^4.1.5":
2563+
version "4.1.5"
2564+
resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5"
2565+
integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==
2566+
dependencies:
2567+
"@hapi/hoek" "^9.0.0"
2568+
25572569
"@sideway/formula@^3.0.0":
25582570
version "3.0.0"
25592571
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.0.tgz#fe158aee32e6bd5de85044be615bc08478a0a13c"
25602572
integrity sha512-vHe7wZ4NOXVfkoRb8T5otiENVlT7a3IAiw7H5M2+GO+9CDgcVUUsX1zalAztCmwyOr2RUTGJdgB+ZvSVqmdHmg==
25612573

2574+
"@sideway/formula@^3.0.1":
2575+
version "3.0.1"
2576+
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f"
2577+
integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==
2578+
25622579
"@sideway/pinpoint@^2.0.0":
25632580
version "2.0.0"
25642581
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
@@ -3613,14 +3630,14 @@ axe-core@^4.3.5:
36133630
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.4.1.tgz#7dbdc25989298f9ad006645cd396782443757413"
36143631
integrity sha512-gd1kmb21kwNuWr6BQz8fv6GNECPBnUasepcoLbekws23NVBLODdsClRZ+bQ8+9Uomf3Sm3+Vwn0oYG9NvwnJCw==
36153632

3616-
axios@^0.25.0, axios@^0.30.3:
3617-
version "0.30.3"
3618-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.30.3.tgz#ab1be887a2d37dd9ebc219657704180faf2c4920"
3619-
integrity sha512-5/tmEb6TmE/ax3mdXBc/Mi6YdPGxQsv+0p5YlciXWt3PHIn0VamqCXhRMtScnwY3lbgSXLneOuXAKUhgmSRpwg==
3633+
axios@^1.14.0, axios@^1.6.1:
3634+
version "1.15.0"
3635+
resolved "https://registry.yarnpkg.com/axios/-/axios-1.15.0.tgz#0fcee91ef03d386514474904b27863b2c683bf4f"
3636+
integrity sha512-wWyJDlAatxk30ZJer+GeCWS209sA42X+N5jU2jy6oHTp7ufw8uzUTVFBX9+wTfAlhiJXGS0Bq7X6efruWjuK9Q==
36203637
dependencies:
3621-
follow-redirects "^1.15.4"
3622-
form-data "^4.0.4"
3623-
proxy-from-env "^1.1.0"
3638+
follow-redirects "^1.15.11"
3639+
form-data "^4.0.5"
3640+
proxy-from-env "^2.1.0"
36243641

36253642
axobject-query@^2.2.0:
36263643
version "2.2.0"
@@ -6106,7 +6123,7 @@ follow-redirects@^1.0.0:
61066123
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7"
61076124
integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==
61086125

6109-
follow-redirects@^1.15.4:
6126+
follow-redirects@^1.15.11:
61106127
version "1.15.11"
61116128
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
61126129
integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
@@ -6135,7 +6152,7 @@ fork-ts-checker-webpack-plugin@^6.5.0:
61356152
semver "^7.3.2"
61366153
tapable "^1.0.0"
61376154

6138-
form-data@^4.0.4:
6155+
form-data@^4.0.5:
61396156
version "4.0.5"
61406157
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
61416158
integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
@@ -7362,6 +7379,17 @@ jest-worker@^27.4.5, jest-worker@^27.5.1:
73627379
merge-stream "^2.0.0"
73637380
supports-color "^8.0.0"
73647381

7382+
joi@^17.11.0:
7383+
version "17.13.3"
7384+
resolved "https://registry.yarnpkg.com/joi/-/joi-17.13.3.tgz#0f5cc1169c999b30d344366d384b12d92558bcec"
7385+
integrity sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==
7386+
dependencies:
7387+
"@hapi/hoek" "^9.3.0"
7388+
"@hapi/topo" "^5.1.0"
7389+
"@sideway/address" "^4.1.5"
7390+
"@sideway/formula" "^3.0.1"
7391+
"@sideway/pinpoint" "^2.0.0"
7392+
73657393
joi@^17.6.0:
73667394
version "17.6.0"
73677395
resolved "https://registry.yarnpkg.com/joi/-/joi-17.6.0.tgz#0bb54f2f006c09a96e75ce687957bd04290054b2"
@@ -8542,6 +8570,11 @@ minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6:
85428570
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44"
85438571
integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==
85448572

8573+
minimist@^1.2.8:
8574+
version "1.2.8"
8575+
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c"
8576+
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
8577+
85458578
mkdirp@^0.5.1:
85468579
version "0.5.6"
85478580
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6"
@@ -9623,10 +9656,10 @@ proxy-addr@~2.0.7:
96239656
forwarded "0.2.0"
96249657
ipaddr.js "1.9.1"
96259658

9626-
proxy-from-env@^1.1.0:
9627-
version "1.1.0"
9628-
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
9629-
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
9659+
proxy-from-env@^2.1.0:
9660+
version "2.1.0"
9661+
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-2.1.0.tgz#a7487568adad577cfaaa7e88c49cab3ab3081aba"
9662+
integrity sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==
96309663

96319664
pump@^3.0.0:
96329665
version "3.0.0"
@@ -10393,10 +10426,10 @@ rxjs@^6.6.0:
1039310426
dependencies:
1039410427
tslib "^1.9.0"
1039510428

10396-
rxjs@^7.5.4:
10397-
version "7.5.6"
10398-
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.6.tgz#0446577557862afd6903517ce7cae79ecb9662bc"
10399-
integrity sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==
10429+
rxjs@^7.8.1:
10430+
version "7.8.2"
10431+
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.2.tgz#955bc473ed8af11a002a2be52071bf475638607b"
10432+
integrity sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==
1040010433
dependencies:
1040110434
tslib "^2.1.0"
1040210435

@@ -11913,16 +11946,16 @@ vlq@^1.0.0:
1191311946
resolved "https://registry.yarnpkg.com/vlq/-/vlq-1.0.1.tgz#c003f6e7c0b4c1edd623fd6ee50bbc0d6a1de468"
1191411947
integrity sha512-gQpnTgkubC6hQgdIcRdYGDSDc+SaujOdyesZQMv6JlfQee/9Mp0Qhnys6WxDWvQnL5WZdT7o2Ul187aSt0Rq+w==
1191511948

11916-
wait-on@^6.0.1:
11917-
version "6.0.1"
11918-
resolved "https://registry.yarnpkg.com/wait-on/-/wait-on-6.0.1.tgz#16bbc4d1e4ebdd41c5b4e63a2e16dbd1f4e5601e"
11919-
integrity sha512-zht+KASY3usTY5u2LgaNqn/Cd8MukxLGjdcZxT2ns5QzDmTFc4XoWBgC+C/na+sMRZTuVygQoMYwdcVjHnYIVw==
11949+
wait-on@^6.0.1, wait-on@^7.2.0:
11950+
version "7.2.0"
11951+
resolved "https://registry.yarnpkg.com/wait-on/-/wait-on-7.2.0.tgz#d76b20ed3fc1e2bebc051fae5c1ff93be7892928"
11952+
integrity sha512-wCQcHkRazgjG5XoAq9jbTMLpNIjoSlZslrJ2+N9MxDsGEv1HnFoVjOCexL0ESva7Y9cu350j+DWADdk54s4AFQ==
1192011953
dependencies:
11921-
axios "^0.25.0"
11922-
joi "^17.6.0"
11954+
axios "^1.6.1"
11955+
joi "^17.11.0"
1192311956
lodash "^4.17.21"
11924-
minimist "^1.2.5"
11925-
rxjs "^7.5.4"
11957+
minimist "^1.2.8"
11958+
rxjs "^7.8.1"
1192611959

1192711960
warning@^4.0.3:
1192811961
version "4.0.3"

0 commit comments

Comments
 (0)