Skip to main content
← All vulnerabilities
CVE-2023-29406GO-2023-1878BIT-GOLANG-2023-29406

Insufficient sanitization of Host header in net/http

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.19.11, 1.20.6
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • net/http

    fixed in 1.19.11; From 1.20.0-0 · fixed in 1.20.6

  • stdlibGo

    fixed in 1.19.11; From 1.20.0-0 · fixed in 1.20.6

References 7

go.dev

groups.google.com

pkg.go.dev

security.netapp.com

security.gentoo.org

GitHub · LuizGustavoP/EP3_Redes