[phpmailer] Bump phpmailer/phpmailer dependency version from 6.1.6 to 6.5.0 #1137

Merged
dependabot[bot] merged 1 commit from dependabot/composer/phpmailer/phpmailer/phpmailer-6.5.0 into 2021.06-rc 2021-06-22 19:12:23 +02:00
dependabot[bot] commented 2021-06-22 17:39:04 +02:00 (Migrated from github.com)

Bumps phpmailer/phpmailer from 6.1.6 to 6.5.0.

Release notes

Sourced from phpmailer/phpmailer's releases.

PHPMailer 6.5.0

This is a security release.

  • SECURITY Fixes CVE-2021-34551, a complex RCE affecting Windows hosts. See https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md for details.
  • The fix for this issue changes the way that language files are loaded. While they remain in the same PHP-like format, they are processed as plain text, and any code in them will not be run, including operations such as concatenation using the . operator.
  • Deprecation The current translation file format using PHP arrays is now deprecated; the next major version will introduce a new format.
  • SECURITY Fixes CVE-2021-3603 that may permit untrusted code to be run from an address validator. See https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md for details.
  • The fix for this issue includes a minor BC break: callables injected into validateAddress, or indirectly through the $validator class property, may no longer be simple strings. If you want to inject your own validator, provide a closure instead of a function name.
  • Haraka message ID strings are now recognised

Thanks to Vikrant Singh Chauhan, listensec.com, and the WordPress security team for reporting and assistance with this release.

PHPMailer 6.4.1

This is a security release.

  • SECURITY Fixes CVE-2020-36326, a regression of CVE-2018-19296 object injection introduced in 6.1.8, see SECURITY.md for details
  • Reject more file paths that look like URLs, matching RFC3986 spec, blocking URLS using schemes such as ssh2
  • Ensure method signature consistency in doCallback calls
  • Ukrainian language update
  • Add composer scripts for checking coding standards and running tests

Thanks to Fariskhi Vidyan for the report and assistance, and Tidelift for support.

PHPMailer 6.4.0

This is a maintenance release. The changes introduced in 6.3.0 for setting an envelope sender automatically when using mail() caused problems, especially in WordPress, so this change has been reverted. It gets a minor version bump as it's a change in behaviour, but only back to what 6.2.0 did. See #2298 for more info.

Other changes:

  • Check for the mbstring extension before decoding addresss in parseAddress, so it won't fail if you don't have it installed
  • Add Serbian Latin translation (sr_latn)
  • Enrol PHPMailer in Tidelift, because supporting open-source is important!

PHPMailer 6.3.0

This is a maintenance release.

  • Handle early connection errors such as 421 during connection and EHLO states
  • Switch to Github Actions for CI
  • Generate debug output for mail(), sendmail, and qmail transports. Enable using the same mechanism as for SMTP: set SMTPDebug > 0
  • Make the mail() and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever From is set to, only falling back to the sendmail_from php.ini setting if From is unset. This avoids errors from the mail() function if Sender is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number.
  • Extend parseAddresses to decode encoded names, improve tests

PHPMailer 6.2.0

This is a maintenance release. With this release, PHPMailer gains official PHP 8 compatibility; earlier versions worked in PHP 8 pre-releases, but the test suite did not. The considerable rework this required (which also restored tests running on older PHP versions) was done by @​jrfnl – thank you very much!

  • PHP 8.0 compatibility
  • Switch from PHP CS Fixer to PHP CodeSniffer for coding standards
  • Create class constants for the debug levels in the POP3 class
  • Improve French, Slovenian, and Ukrainian translations
  • Improve file upload examples so file extensions are retained
  • Resolve PHP 8 line break issues due to a very old PHP bug being fixed

... (truncated)

Changelog

Sourced from phpmailer/phpmailer's changelog.

Version 6.5.0 (June 16th, 2021)

  • SECURITY Fixes CVE-2021-34551, a complex RCE affecting Windows hosts. See https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md for details.
  • The fix for this issue changes the way that language files are loaded. While they remain in the same PHP-like format, they are processed as plain text, and any code in them will not be run, including operations such as concatenation using the . operator.
  • Deprecation The current translation file format using PHP arrays is now deprecated; the next major version will introduce a new format.
  • SECURITY Fixes CVE-2021-3603 that may permit untrusted code to be run from an address validator. See https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md for details.
  • The fix for this issue includes a minor BC break: callables injected into validateAddress, or indirectly through the $validator class property, may no longer be simple strings. If you want to inject your own validator, provide a closure instead of a function name.
  • Haraka message ID strings are now recognised

Version 6.4.1 (April 29th, 2021)

  • SECURITY Fixes CVE-2020-36326, a regression of CVE-2018-19296 object injection introduced in 6.1.8, see SECURITY.md for details
  • Reject more file paths that look like URLs, matching RFC3986 spec, blocking URLS using schemes such as ssh2
  • Ensure method signature consistency in doCallback calls
  • Ukrainian language update
  • Add composer scripts for checking coding standards and running tests

Version 6.4.0 (March 31st, 2021)

  • Revert change that made the mail() and sendmail transports set the envelope sender if one isn't explicitly provided, as it causes problems described in PHPMailer/PHPMailer#2298
  • Check for mbstring extension before decoding addresss in parseAddress
  • Add Serbian Latin translation (sr_latn)
  • Enrol PHPMailer in Tidelift

Version 6.3.0 (February 19th, 2021)

  • Handle early connection errors such as 421 during connection and EHLO states
  • Switch to Github Actions for CI
  • Generate debug output for mail(), sendmail, and qmail transports. Enable using the same mechanism as for SMTP: set SMTPDebug > 0
  • Make the mail() and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever From is set to, only falling back to the sendmail_from php.ini setting if From is unset. This avoids errors from the mail() function if Sender is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number.
  • Extend parseAddresses to decode encoded names, improve tests

Version 6.2.0

  • PHP 8.0 compatibility, many thanks to @​jrf_nl!
  • Switch from PHP CS Fixer to PHP CodeSniffer for coding standards
  • Create class constants for the debug levels in the POP3 class
  • Improve French, Slovenian, and Ukrainian translations
  • Improve file upload examples so file extensions are retained
  • Resolve PHP 8 line break issues due to a very old PHP bug being fixed
  • Avoid warnings when using old openssl functions
  • Improve Travis-CI build configuration

Version 6.1.8 (October 9th, 2020)

  • Mark ext-hash as required in composer.json. This has long been required, but now it will cause an error at install time rather than runtime, making it easier to diagnose
  • Make file upload examples safer
  • Update links to SMTP testing servers
  • Avoid errors when set_time_limit is disabled (you need better hosting!)
  • Allow overriding auth settings for local tests; makes it easy to run tests using HELO
  • Recover gracefully from errors during keepalive sessions
  • Add AVIF MIME type mapping
  • Prevent duplicate To headers in BCC-only messages when using mail()
  • Avoid file function problems when attaching files from Windows UNC paths
  • Improve German, Bahasa Indonesian, Filipino translations
  • Add Javascript-based example

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.1.6 to 6.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/PHPMailer/PHPMailer/releases">phpmailer/phpmailer's releases</a>.</em></p> <blockquote> <h2>PHPMailer 6.5.0</h2> <p>This is a security release.</p> <ul> <li><strong>SECURITY</strong> Fixes CVE-2021-34551, a complex RCE affecting Windows hosts. See <a href="https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md">https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md</a> for details.</li> <li>The fix for this issue changes the way that language files are loaded. While they remain in the same PHP-like format, they are processed as plain text, and any code in them will not be run, including operations such as concatenation using the <code>.</code> operator.</li> <li><em>Deprecation</em> The current translation file format using PHP arrays is now deprecated; the next major version will introduce a new format.</li> <li><strong>SECURITY</strong> Fixes CVE-2021-3603 that may permit untrusted code to be run from an address validator. See <a href="https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md">https://github.com/PHPMailer/PHPMailer/blob/HEAD/SECURITY.md</a> for details.</li> <li>The fix for this issue includes a minor BC break: callables injected into <code>validateAddress</code>, or indirectly through the <code>$validator</code> class property, may no longer be simple strings. If you want to inject your own validator, provide a closure instead of a function name.</li> <li>Haraka message ID strings are now recognised</li> </ul> <p>Thanks to Vikrant Singh Chauhan, listensec.com, and the WordPress security team for reporting and assistance with this release.</p> <h2>PHPMailer 6.4.1</h2> <p>This is a security release.</p> <ul> <li><strong>SECURITY</strong> Fixes CVE-2020-36326, a regression of CVE-2018-19296 object injection introduced in 6.1.8, see SECURITY.md for details</li> <li>Reject more file paths that look like URLs, matching RFC3986 spec, blocking URLS using schemes such as <code>ssh2</code></li> <li>Ensure method signature consistency in <code>doCallback</code> calls</li> <li>Ukrainian language update</li> <li>Add composer scripts for checking coding standards and running tests</li> </ul> <p>Thanks to Fariskhi Vidyan for the report and assistance, and Tidelift for support.</p> <h2>PHPMailer 6.4.0</h2> <p>This is a maintenance release. The changes introduced in 6.3.0 for setting an envelope sender automatically when using <code>mail()</code> caused problems, <a href="https://core.trac.wordpress.org/ticket/52822">especially in WordPress</a>, so this change has been reverted. It gets a minor version bump as it's a change in behaviour, but only back to what 6.2.0 did. See <a href="https://github-redirect.dependabot.com/PHPMailer/PHPMailer/issues/2298">#2298</a> for more info.</p> <p>Other changes:</p> <ul> <li>Check for the mbstring extension before decoding addresss in <code>parseAddress</code>, so it won't fail if you don't have it installed</li> <li>Add Serbian Latin translation (<code>sr_latn</code>)</li> <li>Enrol PHPMailer in <a href="https://tidelift.com">Tidelift</a>, because supporting open-source is important!</li> </ul> <h2>PHPMailer 6.3.0</h2> <p>This is a maintenance release.</p> <ul> <li>Handle early connection errors such as 421 during connection and EHLO states</li> <li>Switch to Github Actions for CI</li> <li>Generate debug output for <code>mail()</code>, sendmail, and qmail transports. Enable using the same mechanism as for SMTP: set <code>SMTPDebug</code> &gt; 0</li> <li>Make the <code>mail()</code> and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever <code>From</code> is set to, only falling back to the <code>sendmail_from</code> php.ini setting if <code>From</code> is unset. This avoids errors from the <code>mail()</code> function if <code>Sender</code> is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number.</li> <li>Extend <code>parseAddresses</code> to decode encoded names, improve tests</li> </ul> <h2>PHPMailer 6.2.0</h2> <p>This is a maintenance release. With this release, PHPMailer gains official PHP 8 compatibility; earlier versions worked in PHP 8 pre-releases, but the test suite did not. The considerable rework this required (which also restored tests running on older PHP versions) was done by <a href="https://github.com/jrfnl"><code>@​jrfnl</code></a> – thank you very much!</p> <ul> <li>PHP 8.0 compatibility</li> <li>Switch from PHP CS Fixer to PHP CodeSniffer for coding standards</li> <li>Create class constants for the debug levels in the POP3 class</li> <li>Improve French, Slovenian, and Ukrainian translations</li> <li>Improve file upload examples so file extensions are retained</li> <li>Resolve PHP 8 line break issues due to a very old PHP bug being fixed</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md">phpmailer/phpmailer's changelog</a>.</em></p> <blockquote> <h2>Version 6.5.0 (June 16th, 2021)</h2> <ul> <li><strong>SECURITY</strong> Fixes CVE-2021-34551, a complex RCE affecting Windows hosts. See <a href="https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md">https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md</a> for details.</li> <li>The fix for this issue changes the way that language files are loaded. While they remain in the same PHP-like format, they are processed as plain text, and any code in them will not be run, including operations such as concatenation using the <code>.</code> operator.</li> <li><em>Deprecation</em> The current translation file format using PHP arrays is now deprecated; the next major version will introduce a new format.</li> <li><strong>SECURITY</strong> Fixes CVE-2021-3603 that may permit untrusted code to be run from an address validator. See <a href="https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md">https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md</a> for details.</li> <li>The fix for this issue includes a minor BC break: callables injected into <code>validateAddress</code>, or indirectly through the <code>$validator</code> class property, may no longer be simple strings. If you want to inject your own validator, provide a closure instead of a function name.</li> <li>Haraka message ID strings are now recognised</li> </ul> <h2>Version 6.4.1 (April 29th, 2021)</h2> <ul> <li><strong>SECURITY</strong> Fixes CVE-2020-36326, a regression of CVE-2018-19296 object injection introduced in 6.1.8, see SECURITY.md for details</li> <li>Reject more file paths that look like URLs, matching RFC3986 spec, blocking URLS using schemes such as <code>ssh2</code></li> <li>Ensure method signature consistency in <code>doCallback</code> calls</li> <li>Ukrainian language update</li> <li>Add composer scripts for checking coding standards and running tests</li> </ul> <h2>Version 6.4.0 (March 31st, 2021)</h2> <ul> <li>Revert change that made the <code>mail()</code> and sendmail transports set the envelope sender if one isn't explicitly provided, as it causes problems described in <a href="https://github-redirect.dependabot.com/PHPMailer/PHPMailer/issues/2298">PHPMailer/PHPMailer#2298</a></li> <li>Check for mbstring extension before decoding addresss in <code>parseAddress</code></li> <li>Add Serbian Latin translation (<code>sr_latn</code>)</li> <li>Enrol PHPMailer in Tidelift</li> </ul> <h2>Version 6.3.0 (February 19th, 2021)</h2> <ul> <li>Handle early connection errors such as 421 during connection and EHLO states</li> <li>Switch to Github Actions for CI</li> <li>Generate debug output for <code>mail()</code>, sendmail, and qmail transports. Enable using the same mechanism as for SMTP: set <code>SMTPDebug</code> &gt; 0</li> <li>Make the <code>mail()</code> and sendmail transports set the envelope sender the same way as SMTP does, i.e. use whatever <code>From</code> is set to, only falling back to the <code>sendmail_from</code> php.ini setting if <code>From</code> is unset. This avoids errors from the <code>mail()</code> function if <code>Sender</code> is not set explicitly and php.ini is not configured. This is a minor functionality change, so bumps the minor version number.</li> <li>Extend <code>parseAddresses</code> to decode encoded names, improve tests</li> </ul> <h2>Version 6.2.0</h2> <ul> <li>PHP 8.0 compatibility, many thanks to <a href="https://github.com/jrf"><code>@​jrf</code></a>_nl!</li> <li>Switch from PHP CS Fixer to PHP CodeSniffer for coding standards</li> <li>Create class constants for the debug levels in the POP3 class</li> <li>Improve French, Slovenian, and Ukrainian translations</li> <li>Improve file upload examples so file extensions are retained</li> <li>Resolve PHP 8 line break issues due to a very old PHP bug being fixed</li> <li>Avoid warnings when using old openssl functions</li> <li>Improve Travis-CI build configuration</li> </ul> <h2>Version 6.1.8 (October 9th, 2020)</h2> <ul> <li>Mark <code>ext-hash</code> as required in composer.json. This has long been required, but now it will cause an error at install time rather than runtime, making it easier to diagnose</li> <li>Make file upload examples safer</li> <li>Update links to SMTP testing servers</li> <li>Avoid errors when set_time_limit is disabled (you need better hosting!)</li> <li>Allow overriding auth settings for local tests; makes it easy to run tests using HELO</li> <li>Recover gracefully from errors during keepalive sessions</li> <li>Add AVIF MIME type mapping</li> <li>Prevent duplicate <code>To</code> headers in BCC-only messages when using <code>mail()</code></li> <li>Avoid file function problems when attaching files from Windows UNC paths</li> <li>Improve German, Bahasa Indonesian, Filipino translations</li> <li>Add Javascript-based example</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/a5b5c43e50b7fba655f793ad27303cd74c57363c"><code>a5b5c43</code></a> Changelog</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/e121da364fbf25d861f8131e4c742ab875f1444e"><code>e121da3</code></a> Merge branch 'master' of <a href="https://github.com/PHPMailer/PHPMailer">https://github.com/PHPMailer/PHPMailer</a></li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/74e512aa750f8f9a2a927161706c5027a3aefb76"><code>74e512a</code></a> Security update</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/acd264bf17ff4ac5c915f0d4226dce8a9ea70bc3"><code>acd264b</code></a> Merge branch 'CVE-2021-34551'</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/0063f83e8ccdd46faa473c541f7dd8ba46ebc37a"><code>0063f83</code></a> Changelog</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/707205f25572332079b8c77c06a26d4ebb54d90f"><code>707205f</code></a> Changelog</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/1047838e84c8ec99c566c9a52336d9dbddd4e333"><code>1047838</code></a> Changelog</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/c2f191be6bd6ba6a62cd899a7cce409da9651a85"><code>c2f191b</code></a> Changelog</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3"><code>45f3c18</code></a> Deny string-based callables altogether</li> <li><a href="https://github.com/PHPMailer/PHPMailer/commit/6334bab2affb132b1445825a0f1f82f7869b981e"><code>6334bab</code></a> CVE docs</li> <li>Additional commits viewable in <a href="https://github.com/PHPMailer/PHPMailer/compare/v6.1.6...v6.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=phpmailer/phpmailer&package-manager=composer&previous-version=6.1.6&new-version=6.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/friendica/friendica-addons/network/alerts). </details>
MrPetovan commented 2021-06-22 20:04:20 +02:00 (Migrated from github.com)

Since we're committing the content of the vendor folder, this PR didn't do anything to the actual used version of phpmailer. Someone™️ needs to run a version of composer install in the phpmailer extension folder and commit the changes in the vendor folder.

Since we're committing the content of the `vendor` folder, this PR didn't do anything to the actual used version of phpmailer. Someone™️ needs to run a version of `composer install` in the phpmailer extension folder and commit the changes in the `vendor` folder.
nupplaphil commented 2021-06-22 22:20:02 +02:00 (Migrated from github.com)

Oops.. I thought this was my branch, not the main.. Sry, you're the master of dependencies :D my plan was to create a PR for it

Oops.. I thought this was my branch, not the main.. Sry, you're the master of dependencies :D my plan was to create a PR for it
MrPetovan commented 2021-06-22 22:31:20 +02:00 (Migrated from github.com)

It's fine, we need a PR anyway, go for it.

It's fine, we need a PR anyway, go for it.
Sign in to join this conversation.
No description provided.