CVE-2009-4492
CVE-2009-4492 is a high-severity vulnerability in Ruby-lang Webrick with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 16% places it in the 96th percentile, indicating an elevated likelihood of exploitation.
Key facts
- Severity: High (CVSS 2.0 base score 7.5)
- EPSS exploit prediction: 16% (96th percentile)
- Actively exploited: Not listed in CISA KEV
- Affected product: Ruby-lang Webrick
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2009-4492?
- 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.
- How severe is CVE-2009-4492?
- CVE-2009-4492 has a CVSS 2.0 base score of 7.5, rated high severity.
- Is CVE-2009-4492 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 16% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-4492?
- CVE-2009-4492 affects Ruby-lang Webrick. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2009-4492?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2009-4492 published?
- CVE-2009-4492 was published on 2010-01-13 and last updated on 2026-06-16.
References
- http://secunia.com/advisories/37949
- http://securitytracker.com/id?1023429
- http://www.redhat.com/support/errata/RHSA-2011-0908.html
- http://www.redhat.com/support/errata/RHSA-2011-0909.html
- http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
- http://www.securityfocus.com/archive/1/508830/100/0/threaded
- http://www.securityfocus.com/bid/37710
- http://www.ush.it/team/ush/hack_httpd_escape/adv.txt
- http://www.vupen.com/english/advisories/2010/0089
Affected products (1)
- cpe:2.3:a:ruby-lang:webrick:1.3.1:*:*:*:*:ruby:*:*
More vulnerabilities in Ruby-lang Webrick
- CVE-2020-25613 — High (CVSS 7.5): An issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP…
- CVE-2025-6442 — Medium (CVSS 5.9): Ruby WEBrick read_header HTTP Request Smuggling Vulnerability. This vulnerability allows remote attackers to smuggle…
- CVE-2019-11879 — Medium (CVSS 5.5): The WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had local access to create a symlink to…
- CVE-2008-1145 — Medium (CVSS 5.0): Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1,…