GHSA-6mq2-37j5-w6r6

    Dashboard / Vulnerabilities / GHSA-6mq2-37j5-w6r6

    GHSA-6mq2-37j5-w6r6

    Published: 24 Oct 2017Last Modified: 22 May 2025
    Aliases:

    Summary: WEBrick Improper Input Validation vulnerability

    Details: WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248, 1.8.8dev, 1.9.1 through patchlevel 376, and 1.9.2dev writes data to a log file without sanitizing non-printable characters, which might allow remote attackers to modify a window's title, or possibly execute arbitrary commands or overwrite files, via an HTTP request containing an escape sequence for a terminal emulator.

    Affected packages

    Package

    Name: webrick

    Purl: pkg:gem/webrick

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.4.0

    Affected versions

    1.3.1

    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-6mq2-37j5-w6r6 | CVE-DB