MEDIUM 5.3 Go

golang.org/x/net/http2 vulnerable to possible excessive memory growth

GHSA-xrjj-mj9h-534m · BIT-golang-2022-41717 · CVE-2022-41717 · GO-2022-1144

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests. HTTP/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.

References

Ready to move

Start Securing

Free, no credit card | First findings in minutes