summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-05-19 15:29:42 +0000
committerNguyễn Gia Phong <cnx@loang.net>2026-08-12 10:44:23 +0900
commit282cbb1684850065efe7faf1f41b67d5883ef926 (patch)
treedd261d20d15fb6322e2adcd5ed0a93c040bc1d51 /gnu
parentb00db666b7d1538611bbc8e08b4c2a06913df51f (diff)
gnu: rpcbind: Update to 1.2.9.
The patch was applied in the upstream commit 9a76cf2989dab549c1067491ee530e2dfd3e3dbd ("rpcbind: Stop unauthenticated oversized allocation in PMAPPROC_CALLIT decode"). * gnu/packages/patches/rpcbind-CVE-2017-8779.patch: Delete patch. * gnu/local.mk (dist_patch_DATA): Unregister it. * gnu/packages/onc-rpc.scm (rpcbind): Update to 1.2.9. [source]<patches>: Remove the deleted patch. [inputs]: Remove libnsl. Merges: https://codeberg.org/guix/guix/pulls/8718 Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/local.mk1
-rw-r--r--gnu/packages/onc-rpc.scm9
-rw-r--r--gnu/packages/patches/rpcbind-CVE-2017-8779.patch29
3 files changed, 4 insertions, 35 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 2bb04a47cfe..43dfa99dd68 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2412,7 +2412,6 @@ dist_patch_DATA = \
2412 %D%/packages/patches/r-httpuv-1.6.6-unvendor-libuv.patch \ 2412 %D%/packages/patches/r-httpuv-1.6.6-unvendor-libuv.patch \
2413 %D%/packages/patches/r-sapa-lapack.patch \ 2413 %D%/packages/patches/r-sapa-lapack.patch \
2414 %D%/packages/patches/ripperx-missing-file.patch \ 2414 %D%/packages/patches/ripperx-missing-file.patch \
2415 %D%/packages/patches/rpcbind-CVE-2017-8779.patch \
2416 %D%/packages/patches/rpcbind-hurd.patch \ 2415 %D%/packages/patches/rpcbind-hurd.patch \
2417 %D%/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch \ 2416 %D%/packages/patches/rtosc-0.3.1-fix-invalid-comparison-operator.patch \
2418 %D%/packages/patches/racket-chez-scheme-bin-sh.patch \ 2417 %D%/packages/patches/racket-chez-scheme-bin-sh.patch \
diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm
index e2298ced7df..4ba5953f1e1 100644
--- a/gnu/packages/onc-rpc.scm
+++ b/gnu/packages/onc-rpc.scm
@@ -88,23 +88,22 @@ IPv4 and IPv6. ONC RPC is notably used by the network file system (NFS).")
88(define-public rpcbind 88(define-public rpcbind
89 (package 89 (package
90 (name "rpcbind") 90 (name "rpcbind")
91 (version "1.2.6") 91 (version "1.2.9")
92 (source 92 (source
93 (origin 93 (origin
94 (method url-fetch) 94 (method url-fetch)
95 (uri (string-append "mirror://sourceforge/" name "/" name "/" 95 (uri (string-append "mirror://sourceforge/" name "/" name "/"
96 version "/" 96 version "/"
97 name "-" version ".tar.bz2")) 97 name "-" version ".tar.bz2"))
98 (patches (search-patches "rpcbind-hurd.patch" 98 (patches (search-patches "rpcbind-hurd.patch"))
99 "rpcbind-CVE-2017-8779.patch"))
100 (sha256 99 (sha256
101 (base32 "1pp8xvprsfz8nlmmvxf829gilx0ibb08bfs3lhisxrfai5j784sn")))) 100 (base32 "06wrmavbc8rl33safiis87n3zhhxbjkm13x2jwl0pvv6qn3ilpyf"))))
102 (build-system gnu-build-system) 101 (build-system gnu-build-system)
103 (arguments 102 (arguments
104 `(#:configure-flags 103 `(#:configure-flags
105 `("--with-systemdsystemunitdir=no" "--enable-warmstarts"))) 104 `("--with-systemdsystemunitdir=no" "--enable-warmstarts")))
106 (inputs 105 (inputs
107 (list libnsl libtirpc)) 106 (list libtirpc))
108 (native-inputs 107 (native-inputs
109 (list pkg-config)) 108 (list pkg-config))
110 (home-page "http://rpcbind.sourceforge.net/") 109 (home-page "http://rpcbind.sourceforge.net/")
diff --git a/gnu/packages/patches/rpcbind-CVE-2017-8779.patch b/gnu/packages/patches/rpcbind-CVE-2017-8779.patch
deleted file mode 100644
index 6ca93ff12b7..00000000000
--- a/gnu/packages/patches/rpcbind-CVE-2017-8779.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1Fix CVE-2017-8779:
2
3https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8779
4
5Patch copied from the bug reporter's 3rd-party repository:
6
7https://github.com/guidovranken/rpcbomb/blob/master/rpcbind_patch.txt
8
9diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
10index 5862c26..e11f61b 100644
11--- a/src/rpcb_svc_com.c
12+++ b/src/rpcb_svc_com.c
13@@ -48,6 +48,7 @@
14 #include <rpc/rpc.h>
15 #include <rpc/rpcb_prot.h>
16 #include <rpc/svc_dg.h>
17+#include <rpc/rpc_com.h>
18 #include <netconfig.h>
19 #include <errno.h>
20 #include <syslog.h>
21@@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp /*__unused*/,
22 static bool_t
23 xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
24 {
25- return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
26+ return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), RPC_MAXDATASIZE));
27 }
28
29 /*