From 4214b7e7997683dcdd6953ae31db409d31ecc013 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Wed, 21 Apr 2021 15:11:13 +0200 Subject: [PATCH] Update to upstream OpenVPN 2.5.2 - Update to upstream OpenVPN 2.5.2 - Fixes CVE-2020-15078 - Replaces --ncp-ciphers with --data-ciphers in the server systemd service unit Signed-off-by: David Sommerseth --- .gitignore | 2 ++ ...lt-cipher-to-AES-256-GCM-for-server-.patch | 2 +- ...54A3687412CFFEBDEFE0A312F5F7B42F2B01E7.gpg | Bin 43297 -> 43992 bytes openvpn.spec | 9 +++++++-- sources | 4 ++-- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 849fe2f..6907d80 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,5 @@ openvpn-2.1.2.tar.gz.asc /openvpn-2.5.0.tar.xz.asc /openvpn-2.5.1.tar.xz /openvpn-2.5.1.tar.xz.asc +/openvpn-2.5.2.tar.xz +/openvpn-2.5.2.tar.xz.asc diff --git a/0001-Change-the-default-cipher-to-AES-256-GCM-for-server-.patch b/0001-Change-the-default-cipher-to-AES-256-GCM-for-server-.patch index 7e11fe8..aca649e 100644 --- a/0001-Change-the-default-cipher-to-AES-256-GCM-for-server-.patch +++ b/0001-Change-the-default-cipher-to-AES-256-GCM-for-server-.patch @@ -23,7 +23,7 @@ index 9a8a2c7..0ecda08 100644 PrivateTmp=true WorkingDirectory=/etc/openvpn/server -ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --config %i.conf -+ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --cipher AES-256-GCM --ncp-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --config %i.conf ++ExecStart=@sbindir@/openvpn --status %t/openvpn-server/status-%i.log --status-version 2 --suppress-timestamps --cipher AES-256-GCM --data-ciphers AES-256-GCM:AES-128-GCM:AES-256-CBC:AES-128-CBC:BF-CBC --config %i.conf CapabilityBoundingSet=CAP_IPC_LOCK CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SYS_CHROOT CAP_DAC_OVERRIDE CAP_AUDIT_WRITE LimitNPROC=10 DeviceAllow=/dev/null rw diff --git a/gpgkey-F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7.gpg b/gpgkey-F554A3687412CFFEBDEFE0A312F5F7B42F2B01E7.gpg index d5abc3e52f84fd43d3463ec1c3b9260f64d9356f..8272cee5dd0b5a6ab233c728d6ce11ac3d7b5d56 100644 GIT binary patch delta 3073 zcmai#X*AUR8^&jThQ<(PEMXF38`&nJ#!j|mOO`OQ4-&}|DjH;)D726@vMY+8B_7+9 zjBPC0ciESslAZd`b2`uK|C{@Kulu^MbKft%=X`QL10%!0yJ#3#&5{Fvf$Uf)sKF%- z1s4RepkNG45CD}h8ZeMaQwsns*o2@Ull3_$nC_qn1v5Fk05I85ir#b9f`ZJPbVJ{T zE(HyO0Pr^VC=6sURfK}Z{B+}&KD|6Z(+mDGeWcfso@msg%i5FlZG}uKP>>fvUl}1- z0|ixVenCNhR}BD+5IYBeT}Dy>C`+JU@E%K-KG*1S?sO0g9J8dq^e@nj3O8v0yevBl z2lLG7Be6Pk1AATx0Nu>+0JwBa4gjwy6*GZT9`ekf%v}@!y5F}2K(!DF0HlN=0gx|- z0DyfF`YvRV98exK9q4(KnHjj>G7^CE8nS zoH5lnTzf6$T-fcl!c0QpK7?whZ>C)23sa3L9DMMH=yt%_%_Tg$UuLe8SD(q?Fpaii z);zOKLcJmdr^W2Ls!qQD`TzyaFd8i8j+8THTHC$D%d&OMW@EfNPqU}#MBWZBvN%*w zVlq?rqH!@+q0KM)|BAR)(0=kI^+$&-7D6_XU~`wA?|Yt_FfJaX<~ZSAZ$kLSpRJ$v za5=H16!{e>_w(e^BFLh3^3b=qiJzjA+!dmDyK_m1XsB$z(oWcSt$^)FS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Vgntg$G4=6zcgtR^X-8QOGtV_2_-#V7Zq6XBy+jr`A%`ZPN>+6 zf1~posk!j&3KjIev1oOchQQ4)FCN`^)2(LewQuh;+F8yPGx7`AhiqF+9Em?ArsgIn zqm%@&J-hVA*BLe6yPZkc^^2X!dcaz)a#lqbJKr5YDt8+082osv>`TH|^QS0XdnEj> z_xv>ww6*UY+8*(9vlb84O`WF&_qb;#P95Uq6%R=#w+1VeSMX38p%q&`Av+_@4w_fk zR?b`yMS+jShq@1932qCS7<)>%sN@H>c-s;~?C639-@DDU!*#TV%2J$zyH?ZmOAq?9 z8$dj^;sU8k>n6NX_G!mG&6NCVrQFg}0xtLfL=6i&M=lNh`Xz`s&Jga</dev/null || \ %changelog +* Wed Apr 21 2021 David Sommerseth - 2.5.2-1 +- Update to upstream OpenVPN 2.5.2 +- Fixes CVE-2020-15078 +- Replaces --ncp-ciphers with --data-ciphers in the server systemd service unit + * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 2.5.1-2 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. diff --git a/sources b/sources index c3c4ce1..5a4d97e 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (openvpn-2.5.1.tar.xz) = 7c0adad384f908bd7dbd839a2b90cbe3a4222cac92ef484df89709ca5dd6cb22b3caf19b696c2bb74d7eda148904a8b25f1fe4640c91f0e68d6e65bcf922e0f4 -SHA512 (openvpn-2.5.1.tar.xz.asc) = 44075753973aaec67a2f01f8efa3a7998bfbac77fd333267ed918a56ef884d8264004296bfb3b3ffee3e724a1614dffccdc93a4abe5fe128d8ee668c03df73ed +SHA512 (openvpn-2.5.2.tar.xz) = ae2cac00ae4b9e06e7e70b268ed47d36bbb45409650175e507d5bfa12b0a4f24bccc64f2494d1563f9269c8076d0f753a492f01ea33ce376ba00b7cdcb5c7bd0 +SHA512 (openvpn-2.5.2.tar.xz.asc) = 49a5f1828d8621e8d71665435efbc5fb55baee9db44c4d8768159667fdddf2ce30c964a11aa6fb28fee37adc34ff5ca8c9eb4c0669b4d847a9ffd0f8aab871b4