GO-2022-0969

See a problem?
Source
https://pkg.go.dev/vuln/GO-2022-0969
Import Source
https://vuln.go.dev/ID/GO-2022-0969.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0969
Aliases
Published
2022-09-12T20:23:06Z
Modified
2024-09-11T06:12:36.978611Z
Summary
Denial of service in net/http and golang.org/x/net/http2
Details

HTTP/2 server connections can hang forever waiting for a clean shutdown that was preempted by a fatal error. This condition can be exploited by a malicious client to cause a denial of service.

References
Credits
    • Bahruz Jabiyev
    • Tommaso Innocenti
    • Anthony Gavazzi
    • Steven Sprecher
    • Kaan Onarlioglu

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.6
Introduced
1.19.0-0
Fixed
1.19.1

Ecosystem specific

{
    "imports": [
        {
            "path": "net/http",
            "symbols": [
                "ListenAndServe",
                "ListenAndServeTLS",
                "Serve",
                "ServeTLS",
                "Server.ListenAndServe",
                "Server.ListenAndServeTLS",
                "Server.Serve",
                "Server.ServeTLS",
                "http2Server.ServeConn",
                "http2serverConn.goAway"
            ]
        }
    ]
}

Go / golang.org/x/net

Package

Name
golang.org/x/net
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/net

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20220906165146-f3363e06e74c

Ecosystem specific

{
    "imports": [
        {
            "path": "golang.org/x/net/http2",
            "symbols": [
                "Server.ServeConn",
                "serverConn.goAway"
            ]
        }
    ]
}