Upgrade formidable to ^3.2.4 to address CVE-2022-29622
Would really like to see this getting merged at some point @MarkHerhold :) Can we help somehow?
Hi there, we only declare that we require "formidable": "^2.0.1" (meaning all version 2's) in package.json and this upgrades us to formidable version 3. The CVE mentioned in the title states that the affected version is 3.1.4.
Furthermore, tests are failing. It looks like this team had to deal with the same issue.
npm t
> [email protected] test
> mocha test/unit/
internal/modules/cjs/loader.js:1102
throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);
^
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /Users/Mark/projects/koa-body/node_modules/formidable/src/index.js
require() of ES modules is not supported.
Indeed, I was looking for koa-body to support the v2 for formidable but you have a release on npm just didn't see it in the changelogs and github releases. Thanks for the quick reply 👍
Actually @MarkHerhold Do you have a changelog for the v5 lying around?