CVE-2024-32971

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-32971
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32971.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-32971
Aliases
Published
2024-05-02T07:15:21Z
Modified
2024-10-08T04:12:16.442798Z
Summary
[none]
Details

Apollo Router is a configurable, graph router written in Rust to run a federated supergraph that uses Apollo Federation 2. The affected versions of Apollo Router contain a bug that in limited circumstances, could lead to unexpected operations being executed which can result in unintended data or effects. This only affects Router instances configured to use distributed query plan caching. The root cause of this defect is a bug in Apollo Router’s cache retrieval logic: When this defect is present and distributed query planning caching is enabled, asking the Router to execute an operation (whether it is a query, a mutation, or a subscription) may result in an unexpected variation of that operation being executed or the generation of unexpected errors. The issue stems from inadvertently executing a modified version of a previously executed operation, whose query plan is stored in the underlying cache (specifically, Redis). Depending on the type of the operation, the result may vary. For a query, results may be fetched that don’t match what was requested (e.g., rather than running fetchUsers(type: ENTERPRISE) the Router may run fetchUsers(type: TRIAL). For a mutation, this may result in incorrect mutations being sent to underlying subgraph servers (e.g., rather than sending deleteUser(id: 10) to a subgraph, the Router may run deleteUser(id: 12). Users who are using distributed query plan caching, are advised to either upgrade to version 1.45.1 or above or downgrade to version 1.43.2 of the Apollo Router. Apollo Router versions 1.44.0 or 1.45.0 are not recommended for use and have been withdrawn. Users unable to upgrade can disable distributed query plan caching to mitigate this issue.

References

Affected packages

Git / github.com/apollographql/router

Affected ranges

Type
GIT
Repo
https://github.com/apollographql/router
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.1.0-alpha.0
v0.1.0-alpha.1
v0.1.0-alpha.10
v0.1.0-alpha.2
v0.1.0-alpha.3
v0.1.0-alpha.4
v0.1.0-alpha.5
v0.1.0-alpha.6
v0.1.0-alpha.7
v0.1.0-alpha.8
v0.1.0-alpha.9
v0.1.0-prealpha.4
v0.1.0-prealpha.5
v0.1.0-preview.0
v0.1.0-preview.1
v0.1.0-preview.2
v0.1.0-preview.3
v0.1.0-preview.4
v0.1.0-preview.5
v0.1.0-preview.6
v0.1.0-preview.7
v0.10.0
v0.11.0
v0.12.0
v0.14.0
v0.15.0
v0.15.1
v0.16.0
v0.9.0
v0.9.0-rc.0
v0.9.1
v0.9.2
v0.9.3
v0.9.4
v0.9.5

v1.*

v1.0.0
v1.0.0-alpha.0
v1.0.0-alpha.1
v1.0.0-alpha.2
v1.0.0-alpha.3
v1.0.0-rc.0
v1.0.0-rc.1
v1.0.0-rc.2
v1.1.0
v1.10.0
v1.10.1
v1.10.2
v1.10.3
v1.11.0
v1.12.0
v1.12.1
v1.13.0
v1.13.1
v1.13.2
v1.14.0
v1.15.0
v1.15.1
v1.16.0
v1.16.0-alpha.0
v1.17.0
v1.18.0
v1.18.1
v1.19.0
v1.19.0-alpha.0
v1.19.1
v1.2.0
v1.2.1
v1.20.0
v1.21.0
v1.22.0
v1.23.0
v1.23.0-alpha.0
v1.24.0
v1.25.0
v1.25.0-alpha.2
v1.26.0
v1.27.0
v1.28.0
v1.28.1
v1.29.0
v1.29.0-rc.0
v1.29.0-rc.1
v1.29.1
v1.3.0
v1.30.0
v1.30.0-alpha.0
v1.30.0-alpha.1
v1.30.1
v1.30.1-rc.0
v1.31.0
v1.31.0-alpha.0
v1.31.0-alpha.1
v1.31.0-alpha.2
v1.31.0-alpha.3
v1.31.0-alpha.4
v1.32.0
v1.32.0-alpha.0
v1.32.0-alpha.1
v1.33.0
v1.33.1
v1.33.2
v1.34.0
v1.34.0-alpha.1
v1.34.0-alpha.2
v1.34.1
v1.34.1-rc.0
v1.35.0
v1.35.0-rc.0
v1.35.0-rc.1
v1.35.0-rc.2
v1.36.0
v1.36.0-rc.0
v1.36.0-rc.1
v1.36.0-rc.2
v1.36.0-rc.3
v1.37.0
v1.37.0-rc.0
v1.37.0-rc.1
v1.38.0
v1.38.0-rc.0
v1.38.0-rc.1
v1.38.0-rc.2
v1.39.0
v1.39.0-rc.0
v1.39.1
v1.39.1-rc.0
v1.39.1-rc.1
v1.39.1-rc.2
v1.4.0
v1.40.0
v1.40.0-rc.0
v1.40.0-rc.1
v1.40.1
v1.40.1-rc.0
v1.40.1-rc.1
v1.40.2
v1.40.2-rc.0
v1.41.0
v1.41.0-rc.0
v1.41.0-rc.1
v1.41.0-rc.2
v1.41.0-rc.3
v1.41.0-rc.4
v1.41.1
v1.42.0
v1.42.0-rc.0
v1.42.0-rc.1
v1.43.0
v1.43.0-rc.0
v1.43.0-rc.1
v1.43.1
v1.43.1-rc.0
v1.43.1-rc.1
v1.43.1-rc.2
v1.43.1-rc.3
v1.43.2
v1.43.2-rc.0
v1.43.3-alpha.0
v1.44.0
v1.44.0-alpha.0
v1.44.0-rc.0
v1.45.0
v1.45.0-alpha.0
v1.45.0-alpha.1
v1.45.0-alpha.2
v1.45.0-alpha.3
v1.45.0-alpha.4
v1.45.0-rc.0
v1.45.0-rc.1
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.9.0