pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/rsync rsync: fix CVE-2020-14387 using upstream patch.
details: https://anonhg.NetBSD.org/pkgsrc/rev/a3a81438e028
branches: trunk
changeset: 459398:a3a81438e028
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Oct 06 08:15:57 2021 +0000
description:
rsync: fix CVE-2020-14387 using upstream patch.
Bump PKGREVISION.
diffstat:
net/rsync/Makefile | 3 ++-
net/rsync/distinfo | 3 ++-
net/rsync/patches/patch-rsync-ssl | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 2 deletions(-)
diffs (46 lines):
diff -r 2e0cea95359f -r a3a81438e028 net/rsync/Makefile
--- a/net/rsync/Makefile Wed Oct 06 08:09:47 2021 +0000
+++ b/net/rsync/Makefile Wed Oct 06 08:15:57 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.115 2020/08/07 08:33:37 adam Exp $
+# $NetBSD: Makefile,v 1.116 2021/10/06 08:15:57 wiz Exp $
DISTNAME= rsync-3.2.3
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://rsync.samba.org/ftp/rsync/
MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/
diff -r 2e0cea95359f -r a3a81438e028 net/rsync/distinfo
--- a/net/rsync/distinfo Wed Oct 06 08:09:47 2021 +0000
+++ b/net/rsync/distinfo Wed Oct 06 08:15:57 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.51 2020/08/07 08:33:37 adam Exp $
+$NetBSD: distinfo,v 1.52 2021/10/06 08:15:57 wiz Exp $
SHA1 (rsync-3.2.3.tar.gz) = 00823f43901e7da39f3f0daf20ec9efae47e959e
RMD160 (rsync-3.2.3.tar.gz) = 6eea543c7034f1ef4997f72011d4fcdda2a960da
@@ -6,3 +6,4 @@
Size (rsync-3.2.3.tar.gz) = 1069784 bytes
SHA1 (patch-Makefile.in) = ba65c144ebc47aae943ef0e6255b6d8745beaa09
SHA1 (patch-authenticate.c) = 39b60b2a0742c8b161c2923f89828bd604aa7e83
+SHA1 (patch-rsync-ssl) = 2934471e328d635348f490eb42450856cca271f7
diff -r 2e0cea95359f -r a3a81438e028 net/rsync/patches/patch-rsync-ssl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rsync/patches/patch-rsync-ssl Wed Oct 06 08:15:57 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-rsync-ssl,v 1.1 2021/10/06 08:15:57 wiz Exp $
+
+CVE-2020-14387:
+rsync-ssl does not verify the hostname in the server certificate when using openssl
+
+--- rsync-ssl.orig 2020-06-17 01:27:48.000000000 +0000
++++ rsync-ssl
+@@ -129,7 +129,7 @@ function rsync_ssl_helper {
+ fi
+
+ if [[ $RSYNC_SSL_TYPE == openssl ]]; then
+- exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -connect $hostname:$port
++ exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -verify_hostname $hostname -connect $hostname:$port
+ elif [[ $RSYNC_SSL_TYPE == gnutls ]]; then
+ exec $RSYNC_SSL_GNUTLS --logfile=/dev/null $gnutls_cert_opt $gnutls_opts $hostname:$port
+ else
Home |
Main Index |
Thread Index |
Old Index