CVE-2009-4492: ruby-lang webrick
Vulnerability summary
CVE-2009-4492 is a high (CVSS 7.5) vulnerability in ruby-lang webrick. EPSS estimates a 16.23% chance of exploitation in the next 30 days, higher than 96.9% of scored vulnerabilities. 4 public exploits are recorded.
Weaponized exploit (exploit-database, 11-01-2010)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2Timeline
- 13-01-2010PublishedVulnerability first disclosed.
- 07-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
16.23%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
No change 0.00 pp
From 16.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (ush.it)
Maturity: unknown
Exploit Reference (securityfocus.com)
Maturity: unknown
Exploit Reference (securitytracker.com)
Maturity: unknown
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.
Ruby-lang1 product
- webrick1.3.1
RubyGems1 product
- webrick< 1.4.0
2 vendors · 2 products
References
18 links- www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injectionX Refsource CONFIRMPatchVendor AdvisoryWEB
- www.redhat.com/support/errata/RHSA-2011-0909.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryWEB
- www.redhat.com/support/errata/RHSA-2011-0908.htmlVendor AdvisoryX Refsource REDHATThird Party AdvisoryWEB
- www.securityfocus.com/archive/1/508830/100/0/threadedMailing ListX Refsource BUGTRAQBroken LinkThird Party AdvisoryVDB Entry
Show all 18 references
- github.com/ruby/webrickPACKAGE