Skip to content

Add non-local and recursive selection limits#3238

Merged
sachindshinde merged 3 commits intomainfrom
sachin/port-2.10.1-changes-to-main
Apr 7, 2025
Merged

Add non-local and recursive selection limits#3238
sachindshinde merged 3 commits intomainfrom
sachin/port-2.10.1-changes-to-main

Conversation

@sachindshinde
Copy link
Contributor

@sachindshinde sachindshinde commented Apr 7, 2025

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.

sachindshinde and others added 3 commits April 7, 2025 07:09
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>
@sachindshinde sachindshinde requested a review from a team as a code owner April 7, 2025 14:12
@changeset-bot
Copy link

changeset-bot bot commented Apr 7, 2025

🦋 Changeset detected

Latest commit: efd0687

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@apollo/query-planner Patch
@apollo/query-graphs Patch
@apollo/federation-internals Patch
@apollo/gateway Patch
@apollo/composition Patch
@apollo/subgraph Patch
apollo-federation-integration-testsuite Patch

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

@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Apr 7, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 150f61fdb6be5f47371ae56b

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 7, 2025

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.

@sachindshinde sachindshinde requested a review from clenfest April 7, 2025 14:13
@sachindshinde sachindshinde changed the title Add non local and recursive selection limits Add non-local and recursive selection limits Apr 7, 2025
@sachindshinde sachindshinde merged commit 1462c91 into main Apr 7, 2025
17 checks passed
@sachindshinde sachindshinde deleted the sachin/port-2.10.1-changes-to-main branch April 7, 2025 14:18
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants