AlexRogalskiy / charts

📊 Styled Charts API
https://styled-charts.vercel.app/
GNU General Public License v3.0
1 stars 0 forks source link

:arrow_up: Updates formidable to v3 [SECURITY] - autoclosed #1086

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
formidable ^2.0.1 -> ^3.2.4 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-29622

Disputed: An arbitrary file upload vulnerability in formidable v3.1.4 allows attackers to execute arbitrary code via a crafted filename.


Release Notes

node-formidable/formidable (formidable) ### [`v3.2.4`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/node-formidable/formidable/compare/971e3a7f2c6510ee803dcace68ce850a9d573c21...v3.2.4) - fix: ([#​857](https://togithub.com/node-formidable/formidable/pull/857)) improve keep extension - The code from before 3.2.4 already removed some characters from the file extension. But not always. So it was inconsistent. - The new code cuts the file extension at the first invalid character (invalid in a file extension). - The characters that are considered invalid inside a file extension are all except the . numbers and a-Z. - This change only has an effect if filename option is not used and keepextension option is used ### [`v3.2.3`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/node-formidable/formidable/compare/64f32c2d5486918b2b8afdc2c6cc994d5f9a4a61...971e3a7f2c6510ee803dcace68ce850a9d573c21) - fix: ([#​852](https://togithub.com/node-formidable/formidable/pull/852)) end event is emitted once ### [`v3.2.1`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/node-formidable/formidable/compare/3.2.0...64f32c2d5486918b2b8afdc2c6cc994d5f9a4a61) - fix: do not let empty file on error ([#​796](https://togithub.com/node-formidable/formidable/pull/796)) - it was probably due to the fact that .destroy on a file stream does not always complete on time ### [`v3.2.0`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/node-formidable/formidable/compare/27fdf692da49b37f1055eaf444628ffca699a06c...3.2.0) - feat: maxFileSize option is now per file (as the name suggests) ([#​791](https://togithub.com/node-formidable/formidable/pull/791)) - feat: add maxFiles option, default Infinity - feat: add maxTotalFileSize, default is maxFileSize (for backwards compatibility) - fix: minFileSize is per file - fix: allowEmptyFiles fix in cases where one file is not empty - fix: allowEmptyFiles false option by default - fix: rename wrongly named error - refactor: rename wrongly named maxFileSize into maxTotalFileSize ### [`v3.1.5`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#315) [Compare Source](https://togithub.com/node-formidable/formidable/compare/3.1.4...27fdf692da49b37f1055eaf444628ffca699a06c) - fix: PersistentFile.toString ([#​796](https://togithub.com/node-formidable/formidable/pull/796)) ### [`v3.1.4`](https://togithub.com/node-formidable/formidable/blob/HEAD/CHANGELOG.md#314) [Compare Source](https://togithub.com/node-formidable/formidable/compare/babb94e9d88541beec3d3ce951e6d848627b23b9...3.1.4) - fix: add missing pluginFailed error ([#​794](https://togithub.com/node-formidable/formidable/pull/794)) - refactor: use explicit node imports ([#​786](https://togithub.com/node-formidable/formidable/issues/786)) ### [`v3.1.3`](https://togithub.com/node-formidable/formidable/compare/bbf3e8b17e2e5662087749a51b570894bef3647e...babb94e9d88541beec3d3ce951e6d848627b23b9) [Compare Source](https://togithub.com/node-formidable/formidable/compare/bbf3e8b17e2e5662087749a51b570894bef3647e...babb94e9d88541beec3d3ce951e6d848627b23b9) ### [`v2.1.2`](https://togithub.com/node-formidable/formidable/compare/bbf3e8b17e2e5662087749a51b570894bef3647e...bbf3e8b17e2e5662087749a51b570894bef3647e) [Compare Source](https://togithub.com/node-formidable/formidable/compare/bbf3e8b17e2e5662087749a51b570894bef3647e...bbf3e8b17e2e5662087749a51b570894bef3647e) ### [`v2.1.1`](https://togithub.com/node-formidable/formidable/compare/v2.1.0...bbf3e8b17e2e5662087749a51b570894bef3647e) [Compare Source](https://togithub.com/node-formidable/formidable/compare/v2.1.0...bbf3e8b17e2e5662087749a51b570894bef3647e) ### [`v2.1.0`](https://togithub.com/node-formidable/formidable/compare/48521d7c82e6c5ce4dab4014de30f1c7fd8dee91...v2.1.0) [Compare Source](https://togithub.com/node-formidable/formidable/compare/48521d7c82e6c5ce4dab4014de30f1c7fd8dee91...v2.1.0)

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Moscow, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 7 months ago

Thanks for opening an issue! Make sure you've followed CONTRIBUTING.md.

github-actions[bot] commented 7 months ago

Hello from PR Helper

Is your PR ready for review and processing? Mark the PR ready by including #pr-ready in a comment.

If you still have work to do, even after marking this ready. Put the PR on hold by including #pr-onhold in a comment.

github-actions[bot] commented 7 months ago

Thanks for the PR!

This section of the codebase is owner by https://github.com/AlexRogalskiy/ - if they write a comment saying "LGTM" then it will be merged.

socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@tilt.dev/tilt-inspector@0.1.6 Transitive: environment, eval, filesystem, network, shell, unsafe +437 133 MB nicks
npm/formidable@3.5.1 None 0 165 kB grossacasacs
npm/onchange@7.1.0 environment 0 41.7 kB blakeembrey
npm/opener@1.5.2 shell 0 6.21 kB domenic
npm/plotly.js-dist@2.31.1 None 0 8.63 MB archmoj
npm/plotly.js-geo-dist@2.31.1 None 0 3.3 MB archmoj
npm/prettier@2.8.8 environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/pretty-quick@3.3.1 filesystem Transitive: environment, shell +6 269 kB jounqin
npm/randomcolor@0.6.2 None 0 25.3 kB davidmerfield
npm/remark-cli@10.0.1 None 0 18.1 kB wooorm
npm/remark-lint-code-block-style@3.1.2 None 0 13.7 kB wooorm
npm/remark-lint-ordered-list-marker-value@3.1.2 None 0 15.1 kB wooorm
npm/remark-preset-davidtheclark@0.12.0 Transitive: environment, shell +5 129 kB davidtheclark
npm/remark-validate-links@11.0.2 None 0 46.7 kB wooorm
npm/semantic-release@19.0.5 environment, network Transitive: shell +8 432 kB semantic-release-bot
npm/ts-jest@28.0.8 environment, filesystem, unsafe +2 519 kB kul
npm/ts-node@10.9.2 environment, filesystem, unsafe +1 1.29 MB blakeembrey
npm/typedoc@0.22.18 environment, filesystem, shell, unsafe +1 1.49 MB typedoc-bot
npm/typescript@4.9.5 None 0 66.8 MB typescript-bot
npm/validate-commit-msg@2.14.0 filesystem 0 30.1 kB nickbalestra

🚮 Removed packages: npm/formidable@2.1.2

View full report↗︎

socket-security[bot] commented 7 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Telemetry npm/next@10.2.3
  • Note: Can be disabled by setting the environment variable NEXT_TELEMETRY_DISABLED=1 . See https://nextjs.org/telemetry for more information

View full report↗︎

Next steps

What is telemetry?

This package contains telemetry which tracks how it is used.

Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/next@10.2.3