Advisory

GHSA-6mq2-37j5-w6r6

Also known as: CVE-2009-4492

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-05-22 17:48 UTC

Affected packages and fixes

webrick

RubyGems · All systems

Affected

  • introduced 0, fixed 1.4.0 (ecosystem)

Fixed versions

1.4.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences