GHSA-q89x-f52w-6hj2

    Dashboard / Vulnerabilities / GHSA-q89x-f52w-6hj2

    GHSA-q89x-f52w-6hj2

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Headers containing newline characters can split messages in hyper

    Details: Serializing of headers to the socket did not filter the values for newline bytes (\r or \n), which allowed for header values to split a request or response. People would not likely include newlines in the headers in their own applications, so the way for most people to exploit this is if an application constructs headers based on unsanitized user input. This issue was fixed by replacing all newline characters with a space during serialization of a header value.

    Affected packages

    Package

    Name: hyper

    Purl: pkg:cargo/hyper

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.10.0
    Fixed -0.10.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High