Skip to main content
← All vulnerabilities
CVE-2022-41721GO-2023-1495GHSA-FXG5-WQ6X-VR4W

Request smuggling due to improper request handling in golang.org/x/net/http2/h2c

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.1.1-0.20221104162952-702349b0e862
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

A request smuggling attack is possible when using MaxBytesHandler. When using MaxBytesHandler, the body of an HTTP request is not fully consumed. When the server attempts to read HTTP2 frames from the connection, it will instead be reading the body of the HTTP request, which could be attacker-manipulated to represent arbitrary HTTP2 requests.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/net/http2/h2c

    From 0.0.0-20220524220425-1d687d428aca · fixed in 0.1.1-0.20221104162952-702349b0e862

  • golang.org/x/netGo

    From 0.0.0-20220524220425-1d687d428aca · fixed in 0.1.1-0.20221104162952-702349b0e862

References 5

go.dev

pkg.go.dev

lists.fedoraproject.org