vendor:
Ruby
by:
None
7.5
CVSS
HIGH
Memory Leak
119
CWE
Product Name: Ruby
Affected Version From: 1.8.5 and all prior versions, 1.8.6-p286 and all prior versions, 1.8.7-p71 and all prior versions, r18423 and all prior revisions
Affected Version To: 1.8.7-p71 and all prior versions, r18423 and all prior revisions
Patch Exists: Yes
Related CWE: None
CPE: a:ruby:ruby
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: All
2008
Remote Socket Memory Leak
Ruby fails to handle properly the memory allocated for a socket. So when you send ~ 4 big request to a ruby socket, ruby will go in infinite loop, and then crash. The bug reside in the regex engine (in regex.c).
Mitigation:
Upgrade to the latest version of Ruby