CVE-2008-3443 json
The regular expression engine (regex.c) in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r1842…
published 2008-08-14 18 y ago modified 2026-06-16 4 mo ago also EUVD-2008-3429
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 15.7%
- EPSS 15.7% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
The regular expression engine (regex.c) in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows remote attackers to cause a denial of service (infinite loop and crash) via multiple long requests to a Ruby socket, related to memory allocation failure, and as demonstrated against Webrick.
Patch / fix
- ruby RHEL 4 1.8.1-7.el4_7.1
- ruby RHEL 5 1.8.5-5.el5_2.5
- irb RHEL 4 1.8.1-7.el4_7.1
- ruby-ri RHEL 5 1.8.5-5.el5_2.5
- ruby-irb RHEL 5 1.8.5-5.el5_2.5
- ruby-libs RHEL 4 1.8.1-7.el4_7.1
- ruby-libs RHEL 5 1.8.5-5.el5_2.5
- ruby-mode RHEL 4 1.8.1-7.el4_7.1
red hat advisories RHSA-2008:0897RHSA-2008:0896RHSA-2008:0895
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-3443 updated
ruby: Memory allocation failure in Ruby regex engine (remotely exploitable DoS)
-
Red Hat Desktop version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 morefixed: vendor fix RHSA-2008:0897
-
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 irb 1.6.4-7.el2, ruby 1.6.4-7.el2, ruby-libs 1.6.4-7.el2, ruby-tcltk 1.6.4-7.el2fixed: vendor fix RHSA-2008:0895
-
Red Hat Enterprise Linux AS version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 more Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby 1.8.5-5.el5_2.5, ruby-ri 1.8.5-5.el5_2.5, ruby-irb 1.8.5-5.el5_2.5, ruby-libs 1.8.5-5.el5_2.5, ruby-mode 1.8.5-5.el5_2.5, ruby-rdoc 1.8.5-5.el5_2.5, +1 morefixed: vendor fix RHSA-2008:0897
-
Red Hat Enterprise Linux ES version 2.1 irb 1.6.4-7.el2, ruby 1.6.4-7.el2, ruby-libs 1.6.4-7.el2, ruby-tcltk 1.6.4-7.el2fixed: vendor fix RHSA-2008:0895
-
Red Hat Enterprise Linux ES version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1fixed: vendor fix RHSA-2008:0897
show 3 moreshow fewer
-
Red Hat Enterprise Linux WS version 2.1 irb 1.6.4-7.el2, ruby 1.6.4-7.el2, ruby-libs 1.6.4-7.el2, ruby-tcltk 1.6.4-7.el2fixed: vendor fix RHSA-2008:0895
-
Red Hat Enterprise Linux WS version 3 irb 1.6.8-13.el3, ruby 1.6.8-13.el3, ruby-libs 1.6.8-13.el3, ruby-mode 1.6.8-13.el3, ruby-tcltk 1.6.8-13.el3fixed: vendor fix RHSA-2008:0896
-
Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.el4_7.1, ruby 1.8.1-7.el4_7.1, ruby-libs 1.8.1-7.el4_7.1, ruby-mode 1.8.1-7.el4_7.1, ruby-tcltk 1.8.1-7.el4_7.1fixed: vendor fix RHSA-2008:0897
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-6239)
- Published
Exploit prediction
15.68% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-6239 Ruby 1.9 - regex engine Remote Socket Memory Leak dos, 2008-08-13
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
References
-
exploit-db.com
/exploits/6239
exploit
-
usn.ubuntu.com
/651-1/
vendor-advisory
-
debian.org
/security/2009/dsa-1695
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00299.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2009/May/msg00002.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0895.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0897.html
vendor-advisory
-
usn.ubuntu.com
/691-1/
vendor-advisory
-
redhat.com
/archives/fedora-package-announce/2008-October/msg00259.html
vendor-advisory
-
secunia.com
/advisories/31430
third-party-advisory
-
secunia.com
/advisories/33185
third-party-advisory
- support.apple.com /kb/HT3549
-
securityfocus.com
/bid/30682
vdb-entry
-
exchange.xforce.ibmcloud.com
/vulnerabilities/44688
vdb-entry
-
securityreason.com
/securityalert/4158
third-party-advisory
-
secunia.com
/advisories/35074
third-party-advisory
- support.avaya.com /elmodocs2/security/ASA-2008-424.htm
-
securitytracker.com
/id?1021075
vdb-entry
-
secunia.com
/advisories/33398
third-party-advisory
-
secunia.com
/advisories/32219
third-party-advisory
-
us-cert.gov
/cas/techalerts/TA09-133A.html
third-party-advisory, us-government-resource
-
vupen.com
/english/advisories/2009/1297
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9570
vdb-entry, signature
-
secunia.com
/advisories/32371
third-party-advisory
-
secunia.com
/advisories/32165
third-party-advisory
-
secunia.com
/advisories/32372
third-party-advisory
Sources
- CVE List CVE-2008-3443
- NVD CVE-2008-3443
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.