CVE-2009-4492 ruby-lang webrick
ruby-lang webrick: no CVSS score yet. EPSS 16% estimated probability of exploitation activity in the next 30 days. Fixed in webrick 1.4.0.
On this page
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.
- EPSS
- 16% (unchanged from 16% a week ago; 16% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
webrick(RubyGems): fixed in 1.4.0- Red Hat: fixed package versions per release
- Patch: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
- Vendor advisory: http://secunia.com/advisories/37949
- Vendor advisory: http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
Ask an AI about this CVE
Show the prompt
Explain CVE-2009-4492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-4492?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-4492?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-4492 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:webrick | 1.3.1 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6mq2-37j5-w6r6 | RubyGems | webrick | <1.4.0 | 1.4.0 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 more | irb, ruby, ruby-docs and 5 more | 0:1.8.1-16.el4 | RHSA-2011:0908 |
| Red Hat | enterprise_linux:5::server | ruby, ruby-ri, ruby-irb and 7 more | 0:1.8.5-19.el5_6.1 | RHSA-2011:0909 |
From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.
Red Hat
Red Hat rates this Low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-16.el4 | Fixed 2011-06-28 | RHSA-2011:0908 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-19.el5_6.1 | Fixed 2011-06-28 | RHSA-2011:0909 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-4492.
Public exploits
References
- http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection
- 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.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