blob: 477fb912351ca50ad4ff29fee3802e77642963ca [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-1144",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-41717",
"GHSA-xrjj-mj9h-534m"
],
"summary": "Excessive memory growth in net/http and golang.org/x/net/http2",
"details": "An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests.\n\nHTTP/2 server connections contain a cache of HTTP header keys sent by the client. While the total number of entries in this cache is capped, an attacker sending very large keys can cause the server to allocate approximately 64 MiB per open connection.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.9"
},
{
"introduced": "1.19.0-0"
},
{
"fixed": "1.19.4"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "net/http",
"symbols": [
"ListenAndServe",
"ListenAndServeTLS",
"Serve",
"ServeTLS",
"Server.ListenAndServe",
"Server.ListenAndServeTLS",
"Server.Serve",
"Server.ServeTLS",
"http2Server.ServeConn",
"http2serverConn.canonicalHeader"
]
}
]
}
},
{
"package": {
"name": "golang.org/x/net",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.4.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "golang.org/x/net/http2",
"symbols": [
"Server.ServeConn",
"serverConn.canonicalHeader"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/56350"
},
{
"type": "FIX",
"url": "https://go.dev/cl/455717"
},
{
"type": "FIX",
"url": "https://go.dev/cl/455635"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU/m/yZDrXjIiBQAJ"
}
],
"credits": [
{
"name": "Josselin Costanzi"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1144",
"review_status": "REVIEWED"
}
}