Add non-local and recursive selection limits#3238
Merged
sachindshinde merged 3 commits intomainfrom Apr 7, 2025
Merged
Conversation
Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. Co-authored-by: Chris Lenfest <clenfest@apollographql.com>
🦋 Changeset detectedLatest commit: efd0687 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Collaborator
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 150f61fdb6be5f47371ae56b |
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
clenfest
approved these changes
Apr 7, 2025
This was referenced Apr 7, 2025
dylan-apollo
pushed a commit
that referenced
this pull request
Apr 23, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ `next` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `next`.⚠️ ⚠️ ⚠️ ⚠️ ⚠️ ⚠️ # Releases ## @apollo/composition@2.11.0-preview.1 ### Patch Changes - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91)]: - @apollo/query-graphs@2.11.0-preview.1 - @apollo/federation-internals@2.11.0-preview.1 ## @apollo/gateway@2.11.0-preview.1 ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91)]: - @apollo/query-planner@2.11.0-preview.1 - @apollo/federation-internals@2.11.0-preview.1 - @apollo/composition@2.11.0-preview.1 ## @apollo/federation-internals@2.11.0-preview.1 ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. ## @apollo/query-graphs@2.11.0-preview.1 ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91)]: - @apollo/federation-internals@2.11.0-preview.1 ## @apollo/query-planner@2.11.0-preview.1 ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91)]: - @apollo/query-graphs@2.11.0-preview.1 - @apollo/federation-internals@2.11.0-preview.1 ## @apollo/subgraph@2.11.0-preview.1 ### Patch Changes - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91)]: - @apollo/federation-internals@2.11.0-preview.1 ## apollo-federation-integration-testsuite@2.11.0-preview.1 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
lennyburdette
pushed a commit
that referenced
this pull request
Jun 3, 2025
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @apollo/composition@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Allow merging external types when using arrays as default arguments. ([#3262](#3262)) - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26)]: - @apollo/query-graphs@2.11.0 - @apollo/federation-internals@2.11.0 ## @apollo/gateway@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26)]: - @apollo/query-planner@2.11.0 - @apollo/federation-internals@2.11.0 - @apollo/composition@2.11.0 ## @apollo/federation-internals@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. ## @apollo/query-graphs@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26)]: - @apollo/federation-internals@2.11.0 ## @apollo/query-planner@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable. ([#3238](#3238)) See the associated GitHub Advisories [GHSA-q2f9-x4p4-7xmh](GHSA-q2f9-x4p4-7xmh) and [GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr) for more information. - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26)]: - @apollo/query-graphs@2.11.0 - @apollo/federation-internals@2.11.0 ## @apollo/subgraph@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) ### Patch Changes - Updated dependencies \[[`1462c91879d41884c0a7e60551d8dd0d67c832d3`](1462c91), [`9614b26e5a17cbf1f6aaf08f6fcb1c95eb12592d`](9614b26)]: - @apollo/federation-internals@2.11.0 ## apollo-federation-integration-testsuite@2.11.0 ### Minor Changes - Adds connect spec v0.2, available for use with Apollo Router 2.3.0 or greater. ([#3262](#3262)) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Certain query patterns may cause resource exhaustion.
Corrects a set of denial-of-service (DOS) vulnerabilities that made it possible for an attacker to render gateway inoperable with certain simple query patterns due to uncontrolled resource consumption. All prior-released versions and configurations are vulnerable.
See the associated GitHub Advisories GHSA-q2f9-x4p4-7xmh and GHSA-p2q6-pwh5-m6jr for more information.