WEBrick 1.3.1 in Ruby 1.8.6 through patchlevel 383, 1.8.7 through patchlevel 248…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | webrick (RubyGems) | before 1.4.0 | 1.4.0 | Patch available | GHSA-6mq2-37j5-w6r6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- webrick (RubyGems) Vendor— Affected before 1.4.0 Fixed in 1.4.0 Patch available GHSA-6mq2-37j5-w6r6
Remediation
- Fix · GHSA-6mq2-37j5-w6r6 webrick (RubyGems) Fixed in 1.4.0 Advisory →
Red Hat 2 advisories
- RHSA-2011:0909 Released 2011-06-28 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux (v. 5.6.z server) ruby-1.8.5-19.el5_6.1, ruby-1.8.5-19.el5_6.1.i386, ruby-1.8.5-19.el5_6.1.ia64 +33
- RHSA-2011:0908 Released 2011-06-28 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AS version 4 irb-1.8.1-16.el4, irb-1.8.1-16.el4.i386, irb-1.8.1-16.el4.ia64 +25
- Red Hat Enterprise Linux Desktop version 4 irb-1.8.1-16.el4, irb-1.8.1-16.el4.i386, ruby-1.8.1-16.el4 +11
- Red Hat Enterprise Linux ES version 4 irb-1.8.1-16.el4, irb-1.8.1-16.el4.i386, irb-1.8.1-16.el4.ia64 +18
- Red Hat Enterprise Linux WS version 4 irb-1.8.1-16.el4, irb-1.8.1-16.el4.i386, irb-1.8.1-16.el4.ia64 +18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5.6.z server) | Fixed | RHSA-2011:0909 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2011:0908 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-4492
- 2026-10-03 Alias added: GHSA-6mq2-37j5-w6r6
References
Advisory 4
Other 8
- ADV-2010-0089
- https://github.com/ruby/webrick
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2009-4492.yml
- https://web.archive.org/web/20100113155532/http://www.vupen.com/english/advisories/2010/0089
- https://web.archive.org/web/20100815010948/http://secunia.com/advisories/37949
- https://web.archive.org/web/20170402100552/http://securitytracker.com/id?1023429
- https://web.archive.org/web/20170908140655/http://www.securityfocus.com/archive/1/508830/100/0/threaded
- https://web.archive.org/web/20200228145937/http://www.securityfocus.com/bid/37710
More ruby Webrick vulnerabilities
- TI-2008-01097 Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and… CVSS 2.0MEDIUM 5.0
- TI-2020-15633 An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through… CVSS 3.1HIGH 7.5
- TI-2025-05843 Ruby WEBrick read_header HTTP Request Smuggling Vulnerability CVSS 3.1MEDIUM 5.9
- TI-2019-08907 The WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had local… CVSS 3.0MEDIUM 5.5
Sources
- CVE-2009-4492 · CVE Program
- CVE-2009-4492 · NVD
- FIRST EPSS
- GHSA-6mq2-37j5-w6r6 · GitHub Advisory Database · CC BY 4.0
- CVE-2009-4492 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences