ruby WEBrick log escape sequence
Published Jan 13, 2010
7.5
HIGHCVSS 2.0
EPSS 16.23%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
ruby-0:1.8.1-16.el4
Fixed · RHSA-2011:0908
Red Hat Enterprise Linux 5
ruby-0:1.8.5-19.el5_6.1
Fixed · RHSA-2011:0909
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-16.el4 | Fixed | RHSA-2011:0908 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-19.el5_6.1 | Fixed | RHSA-2011:0909 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (28 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 16.23% (0.16230) | 96.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.97% (0.15973) | 96.47th | v5 (v2026.06.15) |
| Jun 4, 2026 | 21.10% (0.21101) | 95.76th | v4 (v2025.03.14) |
| Jan 29, 2026 | 17.69% (0.17685) | 94.92th | v4 (v2025.03.14) |
| Dec 28, 2025 | 16.09% (0.16086) | 94.57th | v4 (v2025.03.14) |
| Dec 27, 2025 | 23.27% (0.23270) | 95.78th | v4 (v2025.03.14) |
| Nov 30, 2025 | 16.09% (0.16086) | 94.52th | v4 (v2025.03.14) |
| Oct 28, 2025 | 10.66% (0.10657) | 92.94th | v4 (v2025.03.14) |
| Oct 27, 2025 | 15.98% (0.15985) | 94.50th | v4 (v2025.03.14) |
| Oct 1, 2025 | 10.66% (0.10657) | 93.06th | v4 (v2025.03.14) |
| Sep 19, 2025 | 15.98% (0.15985) | 94.54th | v4 (v2025.03.14) |
| Jun 18, 2025 | 18.94% (0.18944) | 94.98th | v4 (v2025.03.14) |
| May 30, 2025 | 17.18% (0.17184) | 94.63th | v4 (v2025.03.14) |
| May 25, 2025 | 19.54% (0.19540) | 95.08th | v4 (v2025.03.14) |
| May 1, 2025 | 16.53% (0.16534) | 94.54th | v4 (v2025.03.14) |
| Apr 26, 2025 | 18.83% (0.18826) | 94.91th | v4 (v2025.03.14) |
| Mar 30, 2025 | 16.18% (0.16175) | 94.25th | v4 (v2025.03.14) |
| Mar 29, 2025 | 42.65% (0.42651) | 96.22th | v4 (v2025.03.14) |
| Mar 20, 2025 | 16.18% (0.16175) | 94.31th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.67% (0.09669) | 92.33th | v4 (v2025.03.14) |
| Dec 17, 2024 | 56.80% (0.56796) | 97.82th | v3 (v2023.03.01) |
| Nov 12, 2024 | 54.86% (0.54856) | 97.73th | v3 (v2023.03.01) |
| Aug 2, 2023 | 62.12% (0.62118) | 97.35th | v3 (v2023.03.01) |
| Apr 29, 2023 | 3.10% (0.03100) | 89.58th | v3 (v2023.03.01) |
| Mar 7, 2023 | 3.51% (0.03510) | 90.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 11.00% (0.10995) | 94.86th | v2 (v2022.01.01) |
| Apr 1, 2022 | 11.00% (0.10995) | 94.44th | v2 (v2022.01.01) |
| Feb 4, 2022 | 11.00% (0.10995) | 88.52th | v2 (v2022.01.01) |
References (20)
- http://secunia.com/advisories/37949 third-party-advisoryx_refsource_SECUNIANot ApplicableVendor Advisory
- http://securitytracker.com/id?1023429 vdb-entryx_refsource_SECTRACKBroken LinkExploitThird Party AdvisoryVDB Entry
- http://www.redhat.com/support/errata/RHSA-2011-0908.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.redhat.com/support/errata/RHSA-2011-0909.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.ruby-lang.org/en/news/2010/01/10/webrick-escape-sequence-injection x_refsource_CONFIRMPatchVendor Advisory
- http://www.securityfocus.com/archive/1/508830/100/0/threaded mailing-listx_refsource_BUGTRAQBroken LinkThird Party AdvisoryVDB Entry
- http://www.securityfocus.com/bid/37710 vdb-entryx_refsource_BIDBroken LinkExploitThird Party AdvisoryVDB Entry
- http://www.ush.it/team/ush/hack_httpd_escape/adv.txt x_refsource_MISCBroken LinkExploit
- http://www.vupen.com/english/advisories/2010/0089 vdb-entryx_refsource_VUPENPermissions Required
- https://access.redhat.com/security/cve/CVE-2009-4492 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=554485 Issue Tracking
- https://github.com/advisories/GHSA-6mq2-37j5-w6r6 Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2009-4492.yml
- https://nvd.nist.gov/vuln/detail/CVE-2009-4492
- 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
- https://www.cve.org/CVERecord?id=CVE-2009-4492
Change history (0)
No recorded changes yet.