summaryrefslogtreecommitdiffstats
path: root/php-PHPMailer.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-PHPMailer.spec')
-rw-r--r--php-PHPMailer.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/php-PHPMailer.spec b/php-PHPMailer.spec
index e770d29..6166a86 100644
--- a/php-PHPMailer.spec
+++ b/php-PHPMailer.spec
@@ -17,7 +17,7 @@
Name: php-PHPMailer
Summary: PHP email transport class with a lot of features
Version: 5.2.28
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPLv2+
URL: https://github.com/%{github_user}/%{github_app}
@@ -26,6 +26,7 @@ Source0: https://github.com/%{github_user}/%{github_app}/archive/%{github_tag}/%
# Fix language default path
# Don't rely on autoloader (for app which overides __construct)
Patch0: %{github_app}-path.patch
+Patch1: %{github_app}-5.2.28-cve2020-13625.patch
Buildarch: noarch
@@ -77,6 +78,7 @@ Full Featured Email Transfer Class for PHP. PHPMailer features:
%setup -q -n %{arch_name}
%patch0 -p1 -b .rpm
+%patch1 -p1 -b .cve2020-13625
#-------------------------------------------------------------------------------
@@ -139,6 +141,11 @@ version_compare($mailer->Version, "%{version}", "=") or exit(1);
%changelog
+* Sun Jun 21 2020 Patrick Monnerat <patrick@monnerat.net> 5.2.28-2
+- Patch "cve2020-13625" fixes CVE-2020-13625 vulnerability. This is a backport
+ of https://github.com/PHPMailer/PHPMailer/commit/c2796cb.
+ https://bugzilla.redhat.com/show_bug.cgi?id=1848842
+
* Thu Mar 19 2020 Remi Collet <remi@remirepo.net> - 5.2.28-1
- update to 5.2.28