PabloSzx / graphql-ez

Easy, feature complete, and Plugin-Based Envelop GraphQL APIs
https://graphql-ez.com
MIT License
60 stars 5 forks source link

fix(deps): update dependency @koa/cors to v5 [security] - autoclosed #958

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@koa/cors ^4.0.0 -> ^5.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-49803

Currently, the middleware operates in a way that if an allowed origin is not provided, it will return an Access-Control-Allow-Origin header with the value of the origin from the request. This behavior completely disables one of the most crucial elements of browsers - the Same Origin Policy (SOP), this could cause a very serious security threat to the users of this middleware.

If such behavior is expected, for instance, when middleware is used exclusively for prototypes and not for production applications, it should be heavily emphasized in the documentation along with an indication of the risks associated with such behavior, as many users may not be aware of it.


Release Notes

koajs/cors (@​koa/cors) ### [`v5.0.0`](https://togithub.com/koajs/cors/blob/HEAD/History.md#500--2023-12-11) [Compare Source](https://togithub.com/koajs/cors/compare/4.0.0...5.0.0) \================== **others** - \[[`f31dac9`](http://github.com/koajs/cors/commit/f31dac99f5355c41e7d4dd3c4a80c5f154941a11)] - Merge pull request from GHSA-qxrj-hx23-xp82 (fengmk2 <>)

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-ez ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2024 9:57am
changeset-bot[bot] commented 11 months ago

⚠️ No Changeset found

Latest commit: e2f652ccc578041d3bbdce6aaa002c5ab9b30878

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR