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

Update smtp-connection module version in package.json #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nihillno
Copy link

In view of vulnerability CVE-2021-23358, described at https://exchange.xforce.ibmcloud.com/vulnerabilities/198958, propose to update smtp-connection node module version to the latest, 4.0.2, as the current version 2.12.0 incorporates version 1.7.0 of the underscore module via httpntlm version 1.6.1.

In view of vulnerability CVE-2021-23358, described at https://exchange.xforce.ibmcloud.com/vulnerabilities/198958, propose to update smtp-connection node module version to the latest, 4.0.2, as the current version 2.12.0 incorporates version 1.7.0 of the underscore module via httpntlm version 1.6.1.
@DougiePop
Copy link

DougiePop commented Apr 19, 2021

Hi, I want to second @nihillno comments. Currently, there is a security issue with underscore module 1.7.0. Can you please update your package.json to use smtp-connection version 4.0.2, the latest, so it does not rely on underscore module anymore. Thank you so much.

@akim3235
Copy link

We are facing the exact same issue and haven't found a reliable solution yet. Updating the smtp-connection version should resolve the issue. Looking forward to merging this PR soon.

@andris9
Copy link
Member

andris9 commented Apr 20, 2021

Several issues here.

First, nodemailer-smtp-transport is for very old versions of Nodemailer that is supposed to run (and is used on) on very old versions of Node (eg. v0.12). Upgrading smtp-connection breaks that support. So if you rely on this module then you should probably switch to the recent version of Nodemailer and not use nodemailer-smtp-transport at all.

Anther thing is that the referenced vulnerability in underscore does not affect nodemailer-smtp-transport in any way. It makes no difference what is the version of underscore as that specific code path is never executed.

@nihillno
Copy link
Author

Several issues here.

First, nodemailer-smtp-transport is for very old versions of Nodemailer that is supposed to run (and is used on) on very old versions of Node (eg. v0.12). Upgrading smtp-connection breaks that support. So if you rely on this module then you should probably switch to the recent version of Nodemailer and not use nodemailer-smtp-transport at all.

Anther thing is that the referenced vulnerability in underscore does not affect nodemailer-smtp-transport in any way. It makes no difference what is the version of underscore as that specific code path is never executed.

@andris9 So, if I understand correctly we have no problem here, nothing to do?

@Toub
Copy link

Toub commented Nov 15, 2021

Thanks @andris9

It would be also nice to add a deprecation notice to README file.

@joshuawwright
Copy link

@andris9 Thanks! Didn't realize I didn't need this module. Here is a link to the documentation: https://nodemailer.com/smtp/#:~:text=%3E%20SMTP%20transport-,SMTP%20TRANSPORT,-SMTP%20is%20the

@KonstantinModin
Copy link

updated version you can find here:
npm i nodemailer-smtp-transport-upd

@cope
Copy link

cope commented Aug 18, 2023

shouldn't the version upped from 2.7.4 to 2.7.5, as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants