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

fix(deps): update dependency nodemailer to v6.9.9 [security] - autoclosed #1294

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nodemailer (source) 6.9.1 -> 6.9.9 age adoption passing confidence

GitHub Vulnerability Alerts

GHSA-9h6g-pr28-7cqp

Summary

A ReDoS vulnerability occurs when nodemailer tries to parse img files with the parameter attachDataUrls set, causing the stuck of event loop.
Another flaw was found when nodemailer tries to parse an attachments with a embedded file, causing the stuck of event loop.

Details

Regex: /^data:((?:[^;];)(?:[^,])),(.)$/

Path: compile -> getAttachments -> _processDataUrl

Regex: /(<img\b[^>]* src\s*=[\s"']*)(data:([^;]+);[^"'>\s]+)/

Path: _convertDataImages

PoC

https://gist.github.com/francoatmega/890dd5053375333e40c6fdbcc8c58df6
https://gist.github.com/francoatmega/9aab042b0b24968d7b7039818e8b2698

Impact

ReDoS causes the event loop to stuck a specially crafted evil email can cause this problem.


Release Notes

nodemailer/nodemailer (nodemailer)

v6.9.9

Compare Source

Bug Fixes
  • security: Fix issues described in GHSA-9h6g-pr28-7cqp. Do not use eternal matching pattern if only a few occurences are expected (dd8f5e8)
  • tests: Use native node test runner, added code coverage support, removed grunt (#​1604) (be45c1b)

v6.9.8

Compare Source

Bug Fixes
  • punycode: do not use native punycode module (b4d0e0c)

v6.9.7

Compare Source

Bug Fixes
  • customAuth: Do not require user and pass to be set for custom authentication schemes (fixes #​1584) (41d482c)

v6.9.6

Compare Source

Bug Fixes
  • inline: Use 'inline' as the default Content Dispostion value for embedded images (db32c93)
  • tests: Removed Node v12 from test matrix as it is not compatible with the test framework anymore (7fe0a60)

v6.9.5

Compare Source

Bug Fixes
  • license: Updated license year (da4744e)

v6.9.4

Compare Source

  • Renamed SendinBlue to Brevo

v6.9.3

Compare Source

  • Specified license identifier (was defined as MIT, actual value MIT-0)
  • If SMTP server disconnects with a message, process it and include as part of the response error

v6.9.2

Compare Source

  • Fix uncaught exception on invalid attachment content payload

Configuration

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

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

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 4 times, most recently from 033426b to 529c94a Compare March 2, 2024 14:31
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 4 times, most recently from ac4c9a2 to f92f613 Compare March 10, 2024 16:26
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch from f92f613 to 56af248 Compare March 11, 2024 14:35
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 3 times, most recently from f8e971c to 706abbd Compare March 31, 2024 16:19
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 5 times, most recently from 8728c92 to 16c93c3 Compare April 9, 2024 17:11
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 3 times, most recently from d2115f5 to bcd4c24 Compare April 20, 2024 08:31
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 8 times, most recently from b0d16c6 to c34227a Compare May 4, 2024 15:25
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 21 times, most recently from 0175a11 to 2477c81 Compare May 9, 2024 14:15
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch 4 times, most recently from fde7562 to ff2eb04 Compare May 13, 2024 11:33
@renovate renovate bot force-pushed the renovate/npm-nodemailer-vulnerability branch from ff2eb04 to 16d2433 Compare May 14, 2024 03:07
@renovate renovate bot changed the title fix(deps): update dependency nodemailer to v6.9.9 [security] fix(deps): update dependency nodemailer to v6.9.9 [security] - autoclosed May 17, 2024
@renovate renovate bot closed this May 17, 2024
@renovate renovate bot deleted the renovate/npm-nodemailer-vulnerability branch May 17, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants