You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): CVE-2024-43414: Update query planner to resolve uncontrolled recursion
Update the version of `@apollo/query-planner` used by Router to correct an
uncontrolled recursion weakness (classified as [CWE-674]) during query
planning for complex queries on particularly complex graphs.
This weakness impacts all versions of Router. See the associated Github
Advisory, [GHSA-fmj9-77q8-g6c4], for more information.
[CWE-674]: https://cwe.mitre.org/data/definitions/674.html
[GHSA-fmj9-77q8-g6c4]: GHSA-fmj9-77q8-g6c4
// 2. run `docker compose up -d` and connect to the redis container by running `docker-compose exec redis /bin/bash`.
27
27
// 3. Run the `redis-cli` command from the shell and start the redis `monitor` command.
28
28
// 4. Run this test and yank the updated cache key from the redis logs.
29
-
let known_cache_key = "plan:0:v2.8.1:16385ebef77959fcdc520ad507eb1f7f7df28f1d54a0569e3adabcb4cd00d7ce:3973e022e93220f9212c18d0d0c543ae7c309e46640da93a4a0314de999f5112:3106dfc3339d8c3f3020434024bff0f566a8be5995199954db5a7525a7d7e67a";
29
+
let known_cache_key = "plan:0:v2.8.5:16385ebef77959fcdc520ad507eb1f7f7df28f1d54a0569e3adabcb4cd00d7ce:3973e022e93220f9212c18d0d0c543ae7c309e46640da93a4a0314de999f5112:3106dfc3339d8c3f3020434024bff0f566a8be5995199954db5a7525a7d7e67a";
30
30
31
31
let config = RedisConfig::from_url("redis://127.0.0.1:6379").unwrap();
32
32
let client = RedisClient::new(config,None,None,None);
let starting_key = "plan:0:v2.8.1:a9e605fa09adc5a4b824e690b4de6f160d47d84ede5956b58a7d300cca1f7204:3973e022e93220f9212c18d0d0c543ae7c309e46640da93a4a0314de999f5112:4a5827854a6d2efc85045f0d5bede402e15958390f1073d2e77df56188338e5a";
985
+
let starting_key = "plan:0:v2.8.5:a9e605fa09adc5a4b824e690b4de6f160d47d84ede5956b58a7d300cca1f7204:3973e022e93220f9212c18d0d0c543ae7c309e46640da93a4a0314de999f5112:4a5827854a6d2efc85045f0d5bede402e15958390f1073d2e77df56188338e5a";
0 commit comments