This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
fix(deps): update dependency fastify to v4.10.2 [security] #196
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.
This PR contains the following updates:
4.5.3
->4.10.2
GitHub Vulnerability Alerts
CVE-2022-39288
Impact
An attacker can send an invalid
Content-Type
header that can cause the application to crash, leading to a possible Denial of Service attack. Only the v4.x line is affected.(This was updated: upon a close inspection, v3.x is not affected after all).
Patches
Yes, update to
> v4.8.0
.Workarounds
You can reject the malicious content types before the body parser enters in action.
References
See the HackerOne report #1715536
For more information
Fastify security policy
CVE-2022-41919
Impact
The attacker can use the incorrect
Content-Type
to bypass thePre-Flight
checking offetch
.fetch()
requests with Content-Type’s essence as "application/x-www-form-urlencoded", "multipart/form-data", or "text/plain", could potentially be used to invoke routes that only acceptsapplication/json
content type, thus bypassing any CORS protection, and therefore they could lead to a Cross-Site Request Forgery attack.Patches
For
4.x
users, please update to at least4.10.2
For
3.x
users, please update to at least3.29.4
Workarounds
Implement Cross-Site Request Forgery protection using
@fastify/csrf
.References
Check out the HackerOne report: https://hackerone.com/reports/1763832.
For more information
Fastify security policy
Release Notes
fastify/fastify (fastify)
v4.10.2
Compare Source
and CVE-2022-41919
Full Changelog: fastify/fastify@v4.10.1...v4.10.2
v4.10.1
Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify@v4.10.0...v4.10.1
v4.10.0
Compare Source
What's Changed
null
orundefined
values passed as fn by @metcoder95 in https://github.com/fastify/fastify/pull/4367New Contributors
Full Changelog: fastify/fastify@v4.9.2...v4.10.0
v4.9.2
Compare Source
What's Changed
Full Changelog: fastify/fastify@v4.9.1...v4.9.2
v4.9.1
Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify@v4.9.0...v4.9.1
v4.9.0
Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify@v4.8.1...v4.9.0
v4.8.1
Compare Source
This release fixes GHSA-455w-c45v-86rg for the v4.x line.
This is a HIGH vulnerability that can lead to a crash, resulting in a total loss of availability.
The CVE for this vulnerability is CVE-2022-39288.
Full Changelog: fastify/fastify@v4.8.0...v4.8.1
v4.8.0
Compare Source
What's Changed
New Contributors
Full Changelog: fastify/fastify@v4.7.0...v4.8.0
v4.7.0
Compare Source
What's Changed
@fastify/one-line-logger
by @nooreldeensalah in https://github.com/fastify/fastify/pull/4293New Contributors
Full Changelog: fastify/fastify@v4.6.0...v4.7.0
v4.6.0
Compare Source
What's Changed
fastify.https
to benull
by @SuperchupuDev in https://github.com/fastify/fastify/pull/4226b27edac
to 3 by @dependabot in https://github.com/fastify/fastify/pull/4244b27edac
to 3" by @climba03003 in https://github.com/fastify/fastify/pull/4245Ecosystem.md
linter to check for improper module name patterns by @nooreldeensalah in https://github.com/fastify/fastify/pull/4257Ecosystem.md
linter to lint all sections by @nooreldeensalah in https://github.com/fastify/fastify/pull/4258New Contributors
Full Changelog: fastify/fastify@v4.5.3...v4.6.0
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.