pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Oct 15 11:02:08 UTC 2023

Modified Files:
        pkgsrc/lang/go: version.mk
        pkgsrc/lang/go120: distinfo

Log Message:
go120: update to 1.20.10 (security)

net/http: rapid stream resets can cause excessive work

A malicious HTTP/2 client which rapidly creates requests and
immediately resets them can cause excessive server resource consumption.
While the total number of requests is bounded to the
http2.Server.MaxConcurrentStreams setting, resetting an in-progress
request allows the attacker to create a new request while the existing
one is still executing.

HTTP/2 servers now bound the number of simultaneously executing
handler goroutines to the stream concurrency limit. New requests
arriving when at the limit (which can only happen after the client
has reset an existing, in-flight request) will be queued until a
handler exits. If the request queue grows too large, the server
will terminate the connection.

This issue is also fixed in golang.org/x/net/http2 v0.17.0,
for users manually configuring HTTP/2.

The default stream concurrency limit is 250 streams (requests)
per HTTP/2 connection. This value may be adjusted using the
golang.org/x/net/http2 package; see the Server.MaxConcurrentStreams
setting and the ConfigureServer function.

This is CVE-2023-39325 and Go issue https://go.dev/issue/63417.
This is also tracked by CVE-2023-44487.


To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 pkgsrc/lang/go/version.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/go120/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go/version.mk
diff -u pkgsrc/lang/go/version.mk:1.191 pkgsrc/lang/go/version.mk:1.192
--- pkgsrc/lang/go/version.mk:1.191     Sun Oct 15 09:26:34 2023
+++ pkgsrc/lang/go/version.mk   Sun Oct 15 11:02:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.191 2023/10/15 09:26:34 bsiegert Exp $
+# $NetBSD: version.mk,v 1.192 2023/10/15 11:02:08 bsiegert Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -7,7 +7,7 @@
 .include "go-vars.mk"
 
 GO121_VERSION= 1.21.3
-GO120_VERSION= 1.20.9
+GO120_VERSION= 1.20.10
 GO119_VERSION= 1.19.13
 GO118_VERSION= 1.18.10
 GO14_VERSION=  1.4.3

Index: pkgsrc/lang/go120/distinfo
diff -u pkgsrc/lang/go120/distinfo:1.10 pkgsrc/lang/go120/distinfo:1.11
--- pkgsrc/lang/go120/distinfo:1.10     Sat Oct  7 18:09:35 2023
+++ pkgsrc/lang/go120/distinfo  Sun Oct 15 11:02:08 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2023/10/07 18:09:35 bsiegert Exp $
+$NetBSD: distinfo,v 1.11 2023/10/15 11:02:08 bsiegert Exp $
 
-BLAKE2s (go1.20.9.src.tar.gz) = 5336075b906fa3871f9cf0debda08a43ba9eb0f2ea4f4b3dca655d1b98f02e4d
-SHA512 (go1.20.9.src.tar.gz) = 7234d187f8e0d2c6bcd3c4681b2a26509a65a3bd244bfdb1407b65ec87255744202ff992d6b20ec028904678a9ab8a4403b646343dfb000006daa8ce4e0644a2
-Size (go1.20.9.src.tar.gz) = 26198118 bytes
+BLAKE2s (go1.20.10.src.tar.gz) = 30b04898bf10cd5592451b3767e235fa31f73383948239a759bc1bd732621910
+SHA512 (go1.20.10.src.tar.gz) = 1c6304abb8a7847cedb634380d43fcbf2b206f0e6af99e915b4735b4c5f9dfc08a01db6d41edaed91a2a8140fcd886343d39465bd6fb53bd37be0a7f41dc6525
+Size (go1.20.10.src.tar.gz) = 26198392 bytes
 SHA1 (patch-misc_ios_clangwrap.sh) = 0a06403609cb7bce2e6f65444fd322f486761afe
 SHA1 (patch-src_cmd_dist_util.go) = 2d9c2f59e27672d56f5f1a0e3f9d5101a05546a7
 SHA1 (patch-src_crypto_x509_root__bsd.go) = 0b5dead901450967109303f873a2696c65ccac35



Home | Main Index | Thread Index | Old Index