Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 869002 (CVE-2022-32190) - <dev-lang/go-{1.18.6,1.19.1}: multiple vulnerabilities
Summary: <dev-lang/go-{1.18.6,1.19.1}: multiple vulnerabilities
Status: RESOLVED FIXED
Alias: CVE-2022-32190
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Security
URL: https://groups.google.com/g/golang-an...
Whiteboard: B3 [glsa+]
Keywords:
Depends on: 869248
Blocks: CVE-2022-27664
  Show dependency tree
 
Reported: 2022-09-07 00:06 UTC by John Helmert III
Modified: 2022-11-29 19:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-07 00:06:41 UTC
CVE-2022-27664:

In net/http in Go before 1.18.6 and 1.19.x before 1.19.1, attackers can cause a denial of service because an HTTP/2 connection can hang during closing if shutdown were preempted by a fatal error.

CVE-2022-32190:

JoinPath and URL.JoinPath would not remove ../ path components appended to a relative path. For example, JoinPath("https://go.dev", "../go") returned the URL https://go.dev/../go, despite the JoinPath documentation stating that ../ path elements are cleaned from the result.
Comment 1 Larry the Git Cow gentoo-dev 2022-09-09 02:54:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7ed3d2512226820595a4a6bcb7be32d2dfbe13

commit cb7ed3d2512226820595a4a6bcb7be32d2dfbe13
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-09-09 02:53:39 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-09-09 02:53:59 +0000

    dev-lang/go: drop 1.19
    
    Bug: https://bugs.gentoo.org/869002
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 dev-lang/go/Manifest       |   1 -
 dev-lang/go/go-1.19.ebuild | 196 ---------------------------------------------
 2 files changed, 197 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da461387f8ceefb7669f70c2f629bf5384e6ae25

commit da461387f8ceefb7669f70c2f629bf5384e6ae25
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-09-09 02:53:10 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-09-09 02:53:59 +0000

    dev-lang/go: add 1.19.1
    
    Bug: https://bugs.gentoo.org/869002
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 dev-lang/go/Manifest         |   1 +
 dev-lang/go/go-1.19.1.ebuild | 196 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 197 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b83d742a161d788d4b27f93dbd5ae25e4ebb38a4

commit b83d742a161d788d4b27f93dbd5ae25e4ebb38a4
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2022-09-09 02:51:18 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2022-09-09 02:53:59 +0000

    dev-lang/go: add 1.18.6
    
    Bug: https://bugs.gentoo.org/869002
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 dev-lang/go/Manifest         |   1 +
 dev-lang/go/go-1.18.6.ebuild | 196 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 197 insertions(+)
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 14:44:25 UTC
GLSA request filed
Comment 3 Larry the Git Cow gentoo-dev 2022-09-29 14:48:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=8d08382354928e9d71104918346d369c32ee3db6

commit 8d08382354928e9d71104918346d369c32ee3db6
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2022-09-29 14:25:08 +0000
Commit:     John Helmert III <ajak@gentoo.org>
CommitDate: 2022-09-29 14:48:02 +0000

    [ GLSA 202209-26 ] Go: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/869002
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: John Helmert III <ajak@gentoo.org>

 glsa-202209-26.xml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
Comment 4 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-10-26 17:10:51 UTC
All done!