You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you consume HOF in a project building with npm, there is a nested dependency vulnerability flagged which is ranked "Critical". The vulnerability is:
This issue is not flagged when installing with yarn and running a yarn audit. It only flags with npm install and npm audit.
From investigation, it appears the vulnerability could be a false positive as the code path allegedly isn't executed and therefore there are no plans to update nodemailer-smtp-transport to resolve the issue: nodemailer/nodemailer-smtp-transport#34 (comment)
However I've done further research into the usage of nodemailer-smtp-transport and I think it could be redundant in HOF, and just use the nodemailer dep which is already included in the project: https://nodemailer.com/smtp/
I have run a test on a local branch making the following changes and all the tests pass OK:
Hi,
If you consume HOF in a project building with
npm
, there is a nested dependency vulnerability flagged which is ranked "Critical". The vulnerability is:Arbitrary Code Execution in underscore - GHSA-cf4h-3jhx-xvhq
The issue is in the version of
underscore
which is nested within the nodemailer-smtp-transport dependency:This issue is not flagged when installing with
yarn
and running ayarn audit
. It only flags withnpm install
andnpm audit
.From investigation, it appears the vulnerability could be a false positive as the code path allegedly isn't executed and therefore there are no plans to update nodemailer-smtp-transport to resolve the issue: nodemailer/nodemailer-smtp-transport#34 (comment)
However I've done further research into the usage of nodemailer-smtp-transport and I think it could be redundant in HOF, and just use the nodemailer dep which is already included in the project: https://nodemailer.com/smtp/
I have run a test on a local branch making the following changes and all the tests pass OK:
components/emailer/transports/smtp.js:
package.json:
test/components/emailer/transports/smtp.spec.js:
Would be good to get a confirmation if the above is a correct theory before I raise a PR if possible please?
Thanks
The text was updated successfully, but these errors were encountered: