Ruby-Lang Ruby vulnerabilities

94 known vulnerabilities affecting ruby-lang/ruby.

Total CVEs
94
CISA KEV
0
Public exploits
9
Exploited in wild
0
Severity breakdown
CRITICAL16HIGH34MEDIUM44

Vulnerabilities

Page 4 of 5
CVE-2012-4464MEDIUMCVSS 5.0v1.9.3v2.0+1 more2013-04-25
CVE-2012-4464 [MEDIUM] CVE-2012-4464: Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows context-dependent attackers t Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regres
nvd
CVE-2012-4466MEDIUMCVSS 5.0v1.8.7v1.9.3+2 more2013-04-25
CVE-2012-4466 [MEDIUM] CVE-2012-4466: Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.
nvd
CVE-2013-1821MEDIUMCVSS 5.0≤ 1.9.3v1.9+5 more2013-04-09
CVE-2013-1821 [MEDIUM] CWE-20 CVE-2013-1821: lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers to cause a d lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers to cause a denial of service (memory consumption and crash) via crafted text nodes in an XML document, aka an XML Entity Expansion (XEE) attack.
nvd
CVE-2013-0256MEDIUMCVSS 4.3v1.9v1.9.1+4 more2013-03-01
CVE-2013-0256 [MEDIUM] CWE-79 CVE-2013-0256: darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not pr darkfish.js in RDoc 2.3.0 through 3.12 and 4.x before 4.0.0.preview2.1, as used in Ruby, does not properly generate documents, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted URL.
nvd
CVE-2012-5371MEDIUMCVSS 5.0≤ 1.9.3v1.9+4 more2012-11-28
CVE-2012-5371 [MEDIUM] CVE-2012-5371: Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly r Ruby (aka CRuby) 1.9 before 1.9.3-p327 and 2.0 before r37575 computes hash values without properly restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table, as demonstrated by a universal multicollision
nvd
CVE-2012-4522MEDIUMCVSS 5.0v1.9.3v2.0.02012-11-24
CVE-2012-4522 [MEDIUM] CWE-264 CVE-2012-4522: The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.
nvd
CVE-2012-5380MEDIUMCVSS 6.7PoCv1.9.32012-10-11
CVE-2012-5380 [MEDIUM] CWE-22 CVE-2012-5380: Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when insta Untrusted search path vulnerability in the installation functionality in Ruby 1.9.3-p194, when installed in the top-level C:\ directory, might allow local users to gain privileges via a Trojan horse DLL in the C:\Ruby193\bin directory, which may be added to the PATH system environment variable by an administrator, as demonstrated by a Trojan horse wlbs
nvd
CVE-2011-4815HIGHCVSS 7.8≤ 1.8.7-p352v1.8.7-p299+3 more2011-12-30
CVE-2011-4815 [HIGH] CWE-20 CVE-2011-4815: Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability to trigger h Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.
nvd
CVE-2011-3009MEDIUMCVSS 5.0≤ 1.8.6v1.8.62011-08-05
CVE-2011-3009 [MEDIUM] CVE-2011-3009: Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easier for contex Ruby before 1.8.6-p114 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900.
nvd
CVE-2011-2705MEDIUMCVSS 5.0≤ 1.8.7-334v1.8.7+19 more2011-08-05
CVE-2011-2705 [MEDIUM] CWE-20 CVE-2011-2705: The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x be The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID.
nvd
CVE-2011-2686MEDIUMCVSS 5.0≤ 1.8.7-334v1.8.7+8 more2011-08-05
CVE-2011-2686 [MEDIUM] CVE-2011-2686: Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for contex Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
nvd
CVE-2011-0188MEDIUMCVSS 6.8≤ 1.9.2-p136v1.9+8 more2011-03-23
CVE-2011-0188 [MEDIUM] CWE-189 CVE-2011-0188: The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as u The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large Big
nvd
CVE-2011-1005MEDIUMCVSS 5.0v1.8.6v1.8.6-420+3 more2011-03-02
CVE-2011-1005 [MEDIUM] CWE-264 CVE-2011-1005: The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#to_s method, as demonstrated by changing an intended pathname.
nvd
CVE-2011-1004MEDIUMCVSS 6.3v1.8.6v1.8.7+4 more2011-03-02
CVE-2011-1004 [MEDIUM] CWE-59 CVE-2011-1004: The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1 The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.
nvd
CVE-2010-2489HIGHCVSS 7.2v1.9.0-0v1.9.0-1+4 more2010-07-12
CVE-2010-2489 [HIGH] CWE-119 CVE-2010-2489: Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privilege Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files.
nvd
CVE-2009-4124CRITICALCVSS 10.0v1.9.12009-12-11
CVE-2009-4124 [CRITICAL] CWE-119 CVE-2009-4124: Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p37 Heap-based buffer overflow in the rb_str_justify function in string.c in Ruby 1.9.1 before 1.9.1-p376 allows context-dependent attackers to execute arbitrary code via unspecified vectors involving (1) String#ljust, (2) String#center, or (3) String#rjust. NOTE: some of these details are obtained from third party information.
nvd
CVE-2009-1904MEDIUMCVSS 5.0v1.8.6v1.8.72009-06-11
CVE-2009-1904 [MEDIUM] CWE-189 CVE-2009-1904: The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent atta The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.
nvd
CVE-2009-0642MEDIUMCVSS 6.8v1.8v1.92009-02-20
CVE-2009-0642 [MEDIUM] CWE-287 CVE-2009-0642: ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_b ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate.
nvd
CVE-2008-4310HIGHCVSS 7.8PoCv1.8.1v1.8.52008-12-09
CVE-2008-4310 [HIGH] CVE-2008-4310: httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 and 5, allows httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 and 5, allows remote attackers to cause a denial of service (CPU consumption) via a crafted HTTP request. NOTE: this issue exists because of an incomplete fix for CVE-2008-3656.
nvd
CVE-2008-3905MEDIUMCVSS 5.8≤ 1.8.5≤ 1.8.6+11 more2008-09-04
CVE-2008-3905 [MEDIUM] CVE-2008-3905: resolv.rb in Ruby 1.8.5 and earlier, 1.8.6 before 1.8.6-p287, 1.8.7 before 1.8.7-p72, and 1.9 r18423 resolv.rb in Ruby 1.8.5 and earlier, 1.8.6 before 1.8.6-p287, 1.8.7 before 1.8.7-p72, and 1.9 r18423 and earlier uses sequential transaction IDs and constant source ports for DNS requests, which makes it easier for remote attackers to spoof DNS responses, a different vulnerability than CVE-2008-1447.
nvd