HTTP Request Smuggling Affecting golang-tests package, versions <0:1.6.3-1.el7_2.1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.01% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-GOLANGTESTS-4608265
  • published26 Jul 2021
  • disclosed29 Jul 2015

Introduced: 29 Jul 2015

CVE-2015-5739  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade RHEL:7 golang-tests to version 0:1.6.3-1.el7_2.1 or higher.
This issue was patched in RHSA-2016:1538.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-tests package and not the golang-tests package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 request smuggling attacks via a space instead of a hyphen, as demonstrated by "Content Length" instead of "Content-Length."

CVSS Scores

version 3.1