Commit 1462c91
Add non-local and recursive selection limits (#3238)
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](GHSA-q2f9-x4p4-7xmh)
and
[GHSA-p2q6-pwh5-m6jr](GHSA-p2q6-pwh5-m6jr)
for more information.
---------
Co-authored-by: Chris Lenfest <clenfest@apollographql.com>1 parent b6a3301 commit 1462c91
File tree
9 files changed
+1448
-11
lines changed- .changeset
- .cspell
- gateway-js/src
- internals-js/src
- query-graphs-js/src
- query-planner-js/src
9 files changed
+1448
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
158 | 168 | | |
159 | 169 | | |
160 | 170 | | |
| |||
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
183 | 209 | | |
184 | 210 | | |
185 | 211 | | |
| |||
806 | 832 | | |
807 | 833 | | |
808 | 834 | | |
809 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
810 | 841 | | |
811 | 842 | | |
812 | 843 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3650 | 3650 | | |
3651 | 3651 | | |
3652 | 3652 | | |
3653 | | - | |
| 3653 | + | |
3654 | 3654 | | |
3655 | 3655 | | |
3656 | 3656 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
0 commit comments