security: update Security-Updates [SECURITY] (release/1.12) #57

Merged
ff-admin-bot merged 2 commits from renovate/release/1.12-security-updates into release/1.12 2026-10-31 02:31:49 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
multer 2.4.0 → 2.5.0 age confidence
zod (source) 4.6.5 → 4.6.6 age confidence

multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

CVE-2026-113872 / GHSA-q7qp-rjg7-q26m

More information

Details

Impact

When multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's async fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled 'error' event, and the process exits. A single unauthenticated request is enough, so any application using multer with an asynchronous fileFilter is affected, regardless of storage engine. Uploads using a synchronous fileFilter are not affected.

Patches

Users should upgrade to multer 2.5.0 or later.

Workarounds

Use a synchronous fileFilter.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Zod can exhaust memory while validating oversized constrained collections

CVE-2023-54404 / GHSA-mrhx-c7xc-m3w5

More information

Details

Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early termination, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions.

Severity

  • CVSS Score: 8.2 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

expressjs/multer (multer)

v2.5.0

Compare Source

  • Fix CVE-2026-113872 (GHSA-q7qp-rjg7-q26m)
  • Accept a field value of exactly limits.fieldSize bytes, so LIMIT_FIELD_VALUE fires only when the limit is exceeded. This also covers the default fieldSize of 1MB, so a 1048576 byte value is no longer rejected when you set no limits. If you set fieldSize one higher to work around this, you can drop the extra one (#​1481)
  • Do not add a file to the abort cleanup list when its storage engine reports an error after a LIMIT_FILE_SIZE abort; DiskStorage no longer tries to unlink an undefined path (#​1489)
colinhacks/zod (zod)

v4.6.6

Compare Source

Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in #​6620 and have since been removed from the history of main. None were ever published to npm. The npm provenance for 4.6.6 names 284243f, the pre-rewrite copy of 9c21983 with identical contents.

Commits:

  • 0cd3af5 docs: load the en locale directly in Zod Mini
  • 9d5e60f docs: import locales from zod/locales, not z.locales
  • 34a626f docs: tighten the z.locales tree-shaking note
  • 74304ce release: stage npm versions instead of publishing them (#​6622)
  • b2ef983 docs: add Code for Japan to bronze sponsors
  • 8fb2faf docs: crop the Code for Japan logo and list it first in bronze
  • bacad51 docs: square the Code for Japan logo to match the other bronze tiles
  • c42596b release: hold the run on the release-approval environment until the staged versions are approved (#​6638)
  • a2ba4a6 fix(types): declare record output and input as members, not base type arguments (#​6645)
  • a0ebf97 fix(v4): check array, set and map size bounds before parsing elements (#​6652)
  • 529f78d 4.6.6
  • 9c21983 ci: stage at verbose so a failed OIDC token exchange says why

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [multer](https://github.com/expressjs/multer) | [`2.4.0` → `2.5.0`](https://renovatebot.com/diffs/npm/multer/2.4.0/2.5.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/multer/2.5.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/multer/2.4.0/2.5.0?slim=true) | | [zod](https://zod.dev) ([source](https://github.com/colinhacks/zod)) | [`4.6.5` → `4.6.6`](https://renovatebot.com/diffs/npm/zod/4.6.5/4.6.6) | ![age](https://developer.mend.io/api/mc/badges/age/npm/zod/4.6.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zod/4.6.5/4.6.6?slim=true) | --- ### multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown [CVE-2026-113872](https://nvd.nist.gov/vuln/detail/CVE-2026-113872) / [GHSA-q7qp-rjg7-q26m](https://github.com/advisories/GHSA-q7qp-rjg7-q26m) <details> <summary>More information</summary> #### Details ##### Impact When `multer` is configured with an asynchronous `fileFilter`, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's async `fileFilter` is still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled `'error'` event, and the process exits. A single unauthenticated request is enough, so any application using `multer` with an asynchronous `fileFilter` is affected, regardless of storage engine. Uploads using a synchronous `fileFilter` are not affected. ##### Patches Users should upgrade to `multer` `2.5.0` or later. ##### Workarounds Use a synchronous `fileFilter`. #### Severity - CVSS Score: 7.5 / 10 (High) - Vector String: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H` #### References - [https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m](https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m) - [https://nvd.nist.gov/vuln/detail/CVE-2026-113872](https://nvd.nist.gov/vuln/detail/CVE-2026-113872) - [https://github.com/expressjs/multer/commit/80a2d9df1dfd63b5fab631b8b9966164ed647adf](https://github.com/expressjs/multer/commit/80a2d9df1dfd63b5fab631b8b9966164ed647adf) - [https://cna.openjsf.org/security-advisories.html](https://cna.openjsf.org/security-advisories.html) - [https://github.com/expressjs/multer](https://github.com/expressjs/multer) - [https://github.com/expressjs/multer/releases/tag/v2.5.0](https://github.com/expressjs/multer/releases/tag/v2.5.0) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-q7qp-rjg7-q26m) and the [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md)). </details> --- ### Zod can exhaust memory while validating oversized constrained collections [CVE-2023-54404](https://nvd.nist.gov/vuln/detail/CVE-2023-54404) / [GHSA-mrhx-c7xc-m3w5](https://github.com/advisories/GHSA-mrhx-c7xc-m3w5) <details> <summary>More information</summary> #### Details Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early termination, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions. #### Severity - CVSS Score: 8.2 / 10 (High) - Vector String: `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N` #### References - [https://nvd.nist.gov/vuln/detail/CVE-2023-54404](https://nvd.nist.gov/vuln/detail/CVE-2023-54404) - [https://github.com/colinhacks/zod/issues/1872](https://github.com/colinhacks/zod/issues/1872) - [https://github.com/colinhacks/zod/pull/6475](https://github.com/colinhacks/zod/pull/6475) - [https://github.com/colinhacks/zod/pull/6652](https://github.com/colinhacks/zod/pull/6652) - [https://github.com/colinhacks/zod/commit/a0ebf970f2d752e5f58527cd2942ff48be4f46bd](https://github.com/colinhacks/zod/commit/a0ebf970f2d752e5f58527cd2942ff48be4f46bd) - [https://github.com/colinhacks/zod](https://github.com/colinhacks/zod) - [https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation](https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation) This data is provided by [OSV](https://osv.dev/vulnerability/GHSA-mrhx-c7xc-m3w5) and the [GitHub Advisory Database](https://github.com/github/advisory-database) ([CC-BY 4.0](https://github.com/github/advisory-database/blob/main/LICENSE.md)). </details> --- ### Release Notes <details> <summary>expressjs/multer (multer)</summary> ### [`v2.5.0`](https://github.com/expressjs/multer/blob/HEAD/CHANGELOG.md#250) [Compare Source](https://github.com/expressjs/multer/compare/v2.4.0...v2.5.0) - Fix [CVE-2026-113872](https://www.cve.org/CVERecord?id=CVE-2026-113872) ([GHSA-q7qp-rjg7-q26m](https://github.com/expressjs/multer/security/advisories/GHSA-q7qp-rjg7-q26m)) - Accept a field value of exactly `limits.fieldSize` bytes, so `LIMIT_FIELD_VALUE` fires only when the limit is exceeded. This also covers the default `fieldSize` of 1MB, so a [`1048576`](https://github.com/expressjs/multer/commit/1048576) byte value is no longer rejected when you set no limits. If you set `fieldSize` one higher to work around this, you can drop the extra one ([#&#8203;1481](https://github.com/expressjs/multer/pull/1481)) - Do not add a file to the abort cleanup list when its storage engine reports an error after a `LIMIT_FILE_SIZE` abort; `DiskStorage` no longer tries to unlink an undefined path ([#&#8203;1489](https://github.com/expressjs/multer/pull/1489)) </details> <details> <summary>colinhacks/zod (zod)</summary> ### [`v4.6.6`](https://github.com/colinhacks/zod/releases/tag/v4.6.6) [Compare Source](https://github.com/colinhacks/zod/compare/v4.6.5...v4.6.6) > Six malicious commits pushed to `main` on September 21 with a compromised git credential were reverted the same day in [#&#8203;6620](https://github.com/colinhacks/zod/issues/6620) and have since been removed from the history of `main`. None were ever published to npm. The npm provenance for 4.6.6 names [`284243f`](https://github.com/colinhacks/zod/commit/284243fb), the pre-rewrite copy of [`9c21983`](https://github.com/colinhacks/zod/commit/9c219833) with identical contents. #### Commits: - [`0cd3af5`](https://github.com/colinhacks/zod/commit/0cd3af5e9f50ad11bbcd4407a46a21b8848ba574) docs: load the en locale directly in Zod Mini - [`9d5e60f`](https://github.com/colinhacks/zod/commit/9d5e60f162997b764b40d45aa02481888db50dea) docs: import locales from zod/locales, not z.locales - [`34a626f`](https://github.com/colinhacks/zod/commit/34a626f307871ecbb0123947559328dc52ed5e3e) docs: tighten the z.locales tree-shaking note - [`74304ce`](https://github.com/colinhacks/zod/commit/74304ce5b5796b5edb9a88ceb8e170b6ea3e82df) release: stage npm versions instead of publishing them ([#&#8203;6622](https://github.com/colinhacks/zod/issues/6622)) - [`b2ef983`](https://github.com/colinhacks/zod/commit/b2ef983e0711ff6517d6020b021071e2e5653efa) docs: add Code for Japan to bronze sponsors - [`8fb2faf`](https://github.com/colinhacks/zod/commit/8fb2faf0584828a6a027d8279db36f6f52784462) docs: crop the Code for Japan logo and list it first in bronze - [`bacad51`](https://github.com/colinhacks/zod/commit/bacad518c41610d654658172d325874bf0ee6290) docs: square the Code for Japan logo to match the other bronze tiles - [`c42596b`](https://github.com/colinhacks/zod/commit/c42596bd1c87e941d7241d10e012c5c196adcc10) release: hold the run on the release-approval environment until the staged versions are approved ([#&#8203;6638](https://github.com/colinhacks/zod/issues/6638)) - [`a2ba4a6`](https://github.com/colinhacks/zod/commit/a2ba4a67986a3e6b2b131be30084a2f460d9ea67) fix(types): declare record output and input as members, not base type arguments ([#&#8203;6645](https://github.com/colinhacks/zod/issues/6645)) - [`a0ebf97`](https://github.com/colinhacks/zod/commit/a0ebf970f2d752e5f58527cd2942ff48be4f46bd) fix(v4): check array, set and map size bounds before parsing elements ([#&#8203;6652](https://github.com/colinhacks/zod/issues/6652)) - [`529f78d`](https://github.com/colinhacks/zod/commit/529f78dd9431b07f49647fee3aa0819b3f8b66b7) 4.6.6 - [`9c21983`](https://github.com/colinhacks/zod/commit/9c219833c3a3764fa1f1ea9c5ecec8254a63c0b1) ci: stage at verbose so a failed OIDC token exchange says why </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Berlin) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xOTguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE5OC4wIiwidGFyZ2V0QnJhbmNoIjoicmVsZWFzZS8xLjEyIiwibGFiZWxzIjpbInNlY3VyaXR5Il19-->
security: update Security-Updates [SECURITY]
Some checks failed
bump-version / bump (pull_request) Successful in 3m7s
check-version / Version (pull_request) Has been cancelled
ci / Lint (pull_request) Has been cancelled
ci / Build (pull_request) Has been cancelled
ci / Lockfile (pull_request) Has been cancelled
ci / Status im Pull Request (pull_request) Has been cancelled
image-scan / Trivy (pull_request) Has been cancelled
pr-title / Titel (pull_request) Has been cancelled
163b0c3726
ff-admin-bot scheduled this pull request to auto merge when all checks succeed 2026-10-31 02:28:47 +00:00
release: v1.12.1
Some checks failed
check-version / Version (pull_request) Successful in 3m6s
bump-version / bump (pull_request) Successful in 3m6s
ci / Lint (pull_request) Successful in 3m17s
ci / Build (pull_request) Successful in 3m18s
ci / Lockfile (pull_request) Successful in 3m6s
pr-title / Titel (pull_request) Successful in 3m4s
ci / Status im Pull Request (pull_request) Successful in 3m7s
image-scan / Trivy (pull_request) Failing after 4m1s
5448604539
ff-admin-bot merged commit 3a04800704 into release/1.12 2026-10-31 02:31:49 +00:00
ff-admin-bot deleted branch renovate/release/1.12-security-updates 2026-10-31 02:31:50 +00:00

✅ CI-Prüfung

Prüfung Ergebnis
Lint ✅ bestanden
Build ✅ bestanden
Lockfile ✅ bestanden

Details und Logs: CI-Lauf

<!-- ci-status --> ### ✅ CI-Prüfung | Prüfung | Ergebnis | |---|---| | Lint | ✅ bestanden | | Build | ✅ bestanden | | Lockfile | ✅ bestanden | Details und Logs: [CI-Lauf](https://code.jk-effects.cloud/FF-Admin/ff-operation-server/actions/runs/1539)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
FF-Admin/ff-operation-server!57
No description provided.