Summary: | <dev-lang/go-{1.18.7,1.19.2}: multiple vulnerabilities | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | John Helmert III <ajak> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://groups.google.com/d/msgid/golang-announce/2R-mSO6lQiWNZCgnH0gJdw%40geopod-ismtpd-6-2 | ||
Whiteboard: | B3 [glsa+] | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 875554 | ||
Bug Blocks: |
Description
John Helmert III
![]() ![]() ![]() ![]() archive/tar: unbounded memory consumption when reading headers Reader.Read did not set a limit on the maximum size of file headers. A maliciously crafted archive could cause Read to allocate unbounded amounts of memory, potentially causing resource exhaustion or panics. Reader.Read now limits the maximum size of header blocks to 1 MiB. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. This is CVE-2022-2879 and Go issue https://go.dev/issue/54853. net/http/httputil: ReverseProxy should not forward unparseable query parameters Requests forwarded by ReverseProxy included the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value. ReverseProxy will now sanitize the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy.Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged. Thanks to Gal Goldstein (Security Researcher, Oxeye) and Daniel Abeles (Head of Research, Oxeye) for reporting this issue. This is CVE-2022-2880 and Go issue https://go.dev/issue/54663. regexp/syntax: limit memory used by parsing regexps The parsed regexp representation is linear in the size of the input, but in some cases the constant factor can be as high as 40,000, making relatively small regexps consume much larger amounts of memory. Each regexp being parsed is now limited to a 256 MB memory footprint. Regular expressions whose representation would use more space than that are now rejected. Normal use of regular expressions is unaffected. Thanks to Adam Korczynski (ADA Logics) and OSS-Fuzz for reporting this issue. This is CVE-2022-41715 and Go issue https://go.dev/issue/55949. Please bump to 1.18.7 and 1.19.2. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840cbb4676771234cdbaa4c55f88cc34ff64b399 commit 840cbb4676771234cdbaa4c55f88cc34ff64b399 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2022-10-06 01:35:32 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2022-10-06 01:35:53 +0000 dev-lang/go: add 1.18.7, 1.19.2 Bug: https://bugs.gentoo.org/873637 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-lang/go/Manifest | 2 + dev-lang/go/go-1.18.7.ebuild | 196 +++++++++++++++++++++++++++++++++++++++++ dev-lang/go/go-1.19.2.ebuild | 201 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 399 insertions(+) Please cleanup The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b3d023bbda6a044664e75c068776acda7485049 commit 3b3d023bbda6a044664e75c068776acda7485049 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2022-10-07 15:16:11 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2022-10-07 15:16:11 +0000 dev-lang/go: drop 1.18.5, 1.18.6, 1.19.1 Bug: https://bugs.gentoo.org/873637 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-lang/go/Manifest | 3 - dev-lang/go/go-1.18.5.ebuild | 196 ----------------------------------------- dev-lang/go/go-1.18.6.ebuild | 196 ----------------------------------------- dev-lang/go/go-1.19.1.ebuild | 201 ------------------------------------------- 4 files changed, 596 deletions(-) Thanks! The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/glsa.git/commit/?id=7f1e599c82e7f7f6b21bf1127d01d7dfa903e21c commit 7f1e599c82e7f7f6b21bf1127d01d7dfa903e21c Author: GLSAMaker <glsamaker@gentoo.org> AuthorDate: 2023-11-25 08:56:49 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-11-25 08:57:21 +0000 [ GLSA 202311-09 ] Go: Multiple Vulnerabilities Bug: https://bugs.gentoo.org/873637 Bug: https://bugs.gentoo.org/883783 Bug: https://bugs.gentoo.org/894478 Bug: https://bugs.gentoo.org/903979 Bug: https://bugs.gentoo.org/908255 Bug: https://bugs.gentoo.org/915555 Bug: https://bugs.gentoo.org/916494 Signed-off-by: GLSAMaker <glsamaker@gentoo.org> Signed-off-by: Hans de Graaff <graaff@gentoo.org> glsa-202311-09.xml | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) |