HTTP Response Splitting Affecting hyper package, versions <0.9.18>=0.10.0 <0.10.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th 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 Learn

Learn about HTTP Response Splitting vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-HYPER-72300
  • published4 Oct 2018
  • disclosed24 Jan 2017
  • creditSkyler Berg

Introduced: 24 Jan 2017

CVE-2017-18587  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade hyper to versions 0.9.18, 0.10.2 or higher.

Overview

hyper is a fast and correct HTTP implementation for Rust.

Affected versions of this package are vulnerable to HTTP Response Splitting. Serializing of headers to the socket did not filter the values for newline bytes which allowed for header values to split a request or response.

This issue was fixed by replacing all newline characters with a space during serialization of a header value.

CVSS Scores

version 3.1