UNKNOWN Go

Insufficient sanitization of Host header in net/http

GO-2023-1878 · BIT-golang-2023-29406 · CVE-2023-29406

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

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes