GHSA-8cgq-6mh2-7j6v

    Dashboard / Vulnerabilities / GHSA-8cgq-6mh2-7j6v

    GHSA-8cgq-6mh2-7j6v

    Published: 4 Mar 2025Last Modified: 10 Sept 2026

    Summary: Escape Sequence Injection vulnerability in Rack lead to Possible Log Injection

    Details: ## Summary `Rack::Sendfile` can be exploited by crafting input that includes newline characters to manipulate log entries. ## Details The `Rack::Sendfile` middleware logs unsanitized header values from the `X-Sendfile-Type` header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. ## Impact This vulnerability can distort log files, obscure attack traces, and complicate security auditing. ## Mitigation - Update to the latest version of Rack, or - Remove usage of `Rack::Sendfile`.

    Affected packages

    Package

    Name: rack

    Purl: pkg:gem/rack

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.2.12

    Affected versions

    0.1.0

    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
    GHSA-8cgq-6mh2-7j6v | CVE-DB