pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2021Q3]: pkgsrc/net/rsync Pullup ticket #6507 - requested by tm



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6d4d1b02bc3
branches:  pkgsrc-2021Q3
changeset: 459504:f6d4d1b02bc3
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Fri Oct 08 13:15:53 2021 +0000

description:
Pullup ticket #6507 - requested by tm
net/rsync: security fix

Revisions pulled up:
- net/rsync/Makefile                                            1.116
- net/rsync/distinfo                                            1.52
- net/rsync/patches/patch-rsync-ssl                             1.1

---
   Module Name: pkgsrc
   Committed By:        wiz
   Date:                Wed Oct  6 08:15:57 UTC 2021

   Modified Files:
        pkgsrc/net/rsync: Makefile distinfo
   Added Files:
        pkgsrc/net/rsync/patches: patch-rsync-ssl

   Log Message:
   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 fd992eaff623 -r f6d4d1b02bc3 net/rsync/Makefile
--- a/net/rsync/Makefile        Thu Oct 07 20:31:12 2021 +0000
+++ b/net/rsync/Makefile        Fri Oct 08 13:15:53 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.115 2020/08/07 08:33:37 adam Exp $
+# $NetBSD: Makefile,v 1.115.10.1 2021/10/08 13:15:53 bsiegert 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 fd992eaff623 -r f6d4d1b02bc3 net/rsync/distinfo
--- a/net/rsync/distinfo        Thu Oct 07 20:31:12 2021 +0000
+++ b/net/rsync/distinfo        Fri Oct 08 13:15:53 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.51 2020/08/07 08:33:37 adam Exp $
+$NetBSD: distinfo,v 1.51.10.1 2021/10/08 13:15:53 bsiegert 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 fd992eaff623 -r f6d4d1b02bc3 net/rsync/patches/patch-rsync-ssl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rsync/patches/patch-rsync-ssl Fri Oct 08 13:15:53 2021 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-rsync-ssl,v 1.1.2.2 2021/10/08 13:15:53 bsiegert 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