CVE-2015-5739

The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers to conduct HTTP…

published October 18, 2017

CVSS
—
EPSS
10%
Percentile
95.5
In the wild
Unconfirmed
What it is

⚡ An attacker can smuggle requests through an oversight in the Go net/http library! By simply using a space instead of a hyphen in HTTP headers, they could sneak in their malicious agenda. 😲 Think of it like a restaurant menu asking for 'Chicken Tenders' instead of the correct 'Chicken-Tenders' — the chef doesn't realize they missed the hyphen and serves up something unexpected, which could ruin your dining experience! If an attacker successfully performs HTTP request smuggling, they could manipulate web traffic, cause confusion, and potentially bypass security measures — it’s like slipping a fake order to the kitchen! This vulnerability could lead to unintended behaviors that don’t just disrupt services but can also compromise data integrity.

Put simply

Think of it like a restaurant menu asking for 'Chicken Tenders' instead of the correct 'Chicken-Tenders' — the chef doesn't realize they missed the hyphen and serves up something unexpected, which could ruin your dining experience! The vulnerability arises from improper parsing of HTTP header keys in the Go net/http library, specifically allowing a space in place of a hyphen. This can enable request smuggling attacks, where attackers craft requests that the server and intermediary proxies interpret differently.

What to do

If an attacker successfully performs HTTP request smuggling, they could manipulate web traffic, cause confusion, and potentially bypass security measures — it’s like slipping a fake order to the kitchen! This vulnerability could lead to unintended behaviors that don’t just disrupt services but can also compromise data integrity. Developers should upgrade to Go version 1.4.3 or later to patch this vulnerability. It's essential to review HTTP header parsing to ensure they've correctly implemented security measures against such attacks. Regularly auditing your codebase and dependencies for similar issues is also a good practice! This is fixable! By updating your Go version, you’ll strengthen your application against sneaky attacks like this! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.09625 · 95.5th percentile
Published
2017-10-18T20:00Z
EPSS history
Timeline
  • 18 OCT 20:00Z
    The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers to conduct HTTP…
    cvelistv5