Skip to content

Commit a9d288a

Browse files
Version Packages (#7712)
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/[email protected] ### Patch Changes - Updated dependencies \[[`a1c725eaf`](a1c725e)]: - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - [`a1c725eaf`](a1c725e) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Ensure API keys are valid header values on startup Apollo Server previously performed no sanitization or validation of API keys on startup. In the case that an API key was provided which contained characters that are invalid as header values, Apollo Server could inadvertently log the API key in cleartext. This only affected users who: - Provide an API key with characters that are invalid as header values - Use either schema or usage reporting - Use the default fetcher provided by Apollo Server or configure their own `node-fetch` fetcher Apollo Server now trims whitespace from API keys and validates that they are valid header values. If an invalid API key is provided, Apollo Server will throw an error on startup. For more details, see the security advisory: <GHSA-j5g3-5c8r-7qfx> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b0693aa commit a9d288a

File tree

6 files changed

+33
-24
lines changed

6 files changed

+33
-24
lines changed

.changeset/proud-buckets-kneel.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/integration-testsuite/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @apollo/server-integration-testsuite
22

3+
## 4.9.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`a1c725eaf`](https://github.com/apollographql/apollo-server/commit/a1c725eaf53c901e32a15057211bcb3eb6a6109b)]:
8+
- @apollo/server@4.9.3
9+
310
## 4.9.2
411

512
### Patch Changes

packages/integration-testsuite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/server-integration-testsuite",
3-
"version": "4.9.2",
3+
"version": "4.9.3",
44
"description": "Test suite for Apollo Server integrations",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@apollo/cache-control-types": "^1.0.3",
3030
"@apollo/client": "^3.6.9",
31-
"@apollo/server": "4.9.2",
31+
"@apollo/server": "4.9.3",
3232
"@apollo/utils.keyvaluecache": "^2.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",
3434
"@apollo/usage-reporting-protobuf": "^4.1.1",

packages/server/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @apollo/server
22

3+
## 4.9.3
4+
5+
### Patch Changes
6+
7+
- [`a1c725eaf`](https://github.com/apollographql/apollo-server/commit/a1c725eaf53c901e32a15057211bcb3eb6a6109b) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Ensure API keys are valid header values on startup
8+
9+
Apollo Server previously performed no sanitization or validation of API keys on startup. In the case that an API key was provided which contained characters that are invalid as header values, Apollo Server could inadvertently log the API key in cleartext.
10+
11+
This only affected users who:
12+
13+
- Provide an API key with characters that are invalid as header values
14+
- Use either schema or usage reporting
15+
- Use the default fetcher provided by Apollo Server or configure their own `node-fetch` fetcher
16+
17+
Apollo Server now trims whitespace from API keys and validates that they are valid header values. If an invalid API key is provided, Apollo Server will throw an error on startup.
18+
19+
For more details, see the security advisory:
20+
https://github.com/apollographql/apollo-server/security/advisories/GHSA-j5g3-5c8r-7qfx
21+
322
## 4.9.2
423

524
### Patch Changes

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/server",
3-
"version": "4.9.2",
3+
"version": "4.9.3",
44
"description": "Core engine for Apollo GraphQL server",
55
"type": "module",
66
"main": "dist/cjs/index.js",

0 commit comments

Comments
 (0)