Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚨 [security] Update @fastify/multipart 7.1.0 → 7.7.1 (minor) #331

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jul 18, 2023


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​fastify/multipart (7.1.0 → 7.7.1) · Repo

Security Advisories 🚨

🚨 Denial of service due to unlimited number of parts

Impact

  • The multipart body parser accepts an unlimited number of file parts.
  • The multipart body parser accepts an unlimited number of field parts.
  • The multipart body parser accepts an unlimited number of empty parts as field
    parts.

Patches

This is fixed in v7.4.1 (for Fastify v4.x) and v6.0.1 (for Fastify v3.x).

Workarounds

There are no known workaround.

References

Reported at https://hackerone.com/reports/1816195.

Release Notes

7.7.1

What's Changed

  • chore(deps-dev): bump eslint-config-standard-with-typescript from 34.0.1 to 36.0.0 by @dependabot in #451
  • chore(deps-dev): bump eslint-plugin-n from 15.7.0 to 16.0.1 by @dependabot in #459
  • fix: Empty body handling when attachFieldsToBody is keyValues by @qqilihq in #450

New Contributors

Full Changelog: v7.7.0...v7.7.1

7.7.0

What's Changed

  • chore: better error message for FST_REQ_FILE_TOO_LARGE by @erfanium in #446
  • Include ajvFilePlugin into source and follow OpenAPI convention. by @arthurfiorette in #443

New Contributors

Full Changelog: v7.6.1...v7.7.0

7.6.1

What's Changed

  • ci: only trigger on pushes to main branches by @Fdawgs in #434
  • fix: validation example by @lord007tn in #433
  • chore(deps-dev): bump @types/node from 18.16.5 to 20.1.0 by @dependabot in #438
  • replace hexoid with equivalent functionality by @Uzlopak in #441
  • Avoid piping the same file multiple times in case saveRequestFile is called twice. by @arthurfiorette in #444

New Contributors

Full Changelog: v7.6.0...v7.6.1

7.6.0

What's Changed

New Contributors

Full Changelog: v7.5.0...v7.6.0

7.5.0

What's Changed

New Contributors

Full Changelog: v7.4.2...v7.5.0

7.4.2

What's Changed

New Contributors

Full Changelog: v7.4.1...v7.4.2

7.4.1

⚠️ Security Release ⚠️

This releases fixes vulnerability CVE-2023-25576
.
A denial of service attack due to no checks on the number of parts in a multipart payload.

What's Changed

  • chore(deps-dev): bump eslint-config-standard-with-typescript from 26.0.0 to 27.0.1 by @dependabot in #410
  • doc: remove unnecessary require module by @RafaelGSS in #411
  • chore(deps-dev): bump eslint-config-standard-with-typescript from 27.0.1 to 31.0.0 by @dependabot in #412
  • chore(deps-dev): bump eslint-config-standard-with-typescript from 31.0.0 to 33.0.0 by @dependabot in #413
  • chore(deps-dev): bump eslint-config-standard-with-typescript from 33.0.0 to 34.0.0 by @dependabot in #414

New Contributors

Full Changelog: v7.4.0...v7.4.1

7.4.0

What's Changed

  • chore(deps-dev): bump tsd from 0.24.1 to 0.25.0 by @dependabot in #398
  • chore(deps-dev): bump eslint-config-standard-with-typescript from 23.0.0 to 24.0.0 by @dependabot in #400
  • dont overwrite throwFileSizeLimit by @Uzlopak in #403
  • use multipart/form-data as content-type by @Uzlopak in #402
  • remove intermediate variable by @Uzlopak in #404
  • move createError-calls out of function by @Uzlopak in #405
  • chore(.gitignore): add clinic by @Fdawgs in #407
  • chore(deps-dev): bump eslint-config-standard-with-typescript from 24.0.0 to 26.0.0 by @dependabot in #408
  • Support for saveRequestFiles with attachFieldsToBody set true by @Ceres6 in #409

New Contributors

Full Changelog: v7.3.0...v7.4.0

7.3.0

What's Changed

  • chore(deps-dev): bump eslint-config-standard-with-typescript from 22.0.0 to 23.0.0 by @dependabot in #392
  • chore(deps-dev): bump tsd from 0.23.0 to 0.24.1 by @dependabot in #393
  • fix(types): make definitions nodenext compatible by @cesarvspr in #396

New Contributors

Full Changelog: v7.2.0...v7.3.0

7.2.0

What's Changed

New Contributors

Full Changelog: v7.1.2...v7.2.0

7.1.2

📚 PR:

  • chore(deps-dev): bump tsd from 0.22.0 to 0.23.0 (#384)
  • remove typescript dependency (#387)
  • fix: upload with same field name (#388)
  • fix: manage big file uploads (#389)

7.1.1

What's Changed

  • chore(.gitignore): use updated skeleton template by @Fdawgs in #357
  • chore(deps-dev): bump tsd from 0.20.0 to 0.21.0 by @dependabot in #358
  • chore(deps-dev): bump @types/node from 17.0.45 to 18.0.0 by @dependabot in #361
  • replace deepmerge with @fastify/deepmerge by @Uzlopak in #363
  • chore(deps-dev): bump tsd from 0.21.0 to 0.22.0 by @dependabot in #365
  • chore(deps): bump fastify-plugin from 3.0.1 to 4.0.0 by @dependabot in #371
  • chore(deps-dev): bump eslint from 7.32.0 to 8.20.0 by @dependabot in #372
  • chore(deps-dev): replace eslint-plugin-node with eslint-plugin-n by @Fdawgs in #374
  • ci: enable license checking by @Fdawgs in #375
  • build(deps-dev): replace pre-commit with @fastify/pre-commit by @Fdawgs in #376
  • chore: replace use of deprecated variadic listen() by @Fdawgs in #377

Full Changelog: v7.1.0...v7.1.1

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 70 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu
Copy link
Contributor Author

depfu bot commented Jul 22, 2023

Closed in favor of #333.

@depfu depfu bot closed this Jul 22, 2023
@depfu depfu bot deleted the depfu/update/yarn/@fastify/multipart-7.7.1 branch July 22, 2023 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants