GO-2022-0536

Source
https://storage.googleapis.com/go-vulndb/ID/GO-2022-0536.json
Aliases
Published
2022-08-01T22:20:53Z
Modified
2022-08-19T22:21:47Z
Details

Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service.

Servers that accept direct connections from untrusted clients could be remotely made to allocate an unlimited amount of memory, until the program crashes. The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RSTSTREAM frames from the peer. Depending on how the peer queues the RSTSTREAM frames, this can consume excess memory, CPU, or both.

References

Affected packages

Go / stdlib

stdlib

Affected ranges

Type
SEMVER
Events
Introduced
0
Fixed
1.11.13
Introduced
1.12.0
Fixed
1.12.8

Affected versions

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "http2serverConn.scheduleFrameWrite",
                "http2serverConn.serve",
                "http2serverConn.writeFrame"
            ],
            "path": "net/http"
        }
    ]
}

Database specific

{
    "url": "https://pkg.go.dev/vuln/GO-2022-0536"
}

Go / golang.org/x/net

golang.org/x/net

Affected ranges

Type
SEMVER
Events
Introduced
0
Fixed
0.0.0-20190813141303-74dc4d7220e7

Affected versions

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "serverConn.scheduleFrameWrite",
                "serverConn.serve",
                "serverConn.writeFrame"
            ],
            "path": "golang.org/x/net/http"
        }
    ]
}

Database specific

{
    "url": "https://pkg.go.dev/vuln/GO-2022-0536"
}