Ruby Lang vulnerabilities, page 3
119 vulnerabilities
Known vulnerabilities in Ruby Lang products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 15 products.
RoutineCVE-2011-3624ruby +1 moreruby rubyVarious methods in WEBrick::HTTPRequest in Ruby 1.9.2 and 1.8.7 and earlier do not validate the X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server headers in requests, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.CVSS5.3MediumEPSS1.52%PrioritiseCVE-2019-16255debian · debian_linux +8 moredebian debian_linuxRuby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.CVSS8.1HighEPSS4.19%RoutineCVE-2019-16254debian · debian_linux +6 moredebian debian_linuxRuby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF.CVSS5.3MediumEPSS4.66%PrioritiseCVE-2019-16201debian · debian_linux +6 moredebian debian_linuxWEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking. A victim must expose a WEBrick server that uses DigestAuth to the Internet or a untrusted network.CVSS7.8HighEPSS4.64%RoutineCVE-2013-1945ruby193 +1 moreruby193 ruby193ruby193 uses an insecure LD_LIBRARY_PATH setting.CVSS3.3LowEPSS0.29%RoutineCVE-2019-11879ruby-lang · webrickruby-lang webrickThe WEBrick gem 1.4.2 for Ruby allows directory traversal if the attacker once had local access to create a symlink to a location outside of the web root directory. NOTE: The vendor states that this is analogous to Options FollowSymlinks in the Apache HTTP Server, and therefore it is "not a problem.CVSS5.5MediumEPSS0.55%PrioritiseCVE-2018-16396canonical · ubuntu_linux +24 morecanonical ubuntu_linuxAn issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.CVSS8.1HighEPSS7.97%PrioritiseCVE-2018-16395canonical · ubuntu_linux +26 morecanonical ubuntu_linuxAn issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.CVSS9.8CriticalEPSS11.86%PrioritiseCVE-2018-8780canonical · ubuntu_linux +6 morecanonical ubuntu_linuxIn Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the Dir.open, Dir.new, Dir.entries and Dir.empty? methods do not check NULL characters. When using the corresponding method, unintentional directory traversal may be performed.CVSS9.1CriticalEPSS9.98%PrioritiseCVE-2018-8779canonical · ubuntu_linux +6 morecanonical ubuntu_linuxIn Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, the UNIXServer.open and UNIXSocket.open methods are not checked for null characters. It may be connected to an unintended socket.CVSS7.5HighEPSS6.90%PrioritiseCVE-2018-8778canonical · ubuntu_linux +7 morecanonical ubuntu_linuxIn Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker controlling the unpacking format (similar to format string vulnerabilities) can trigger a buffer under-read in the String#unpack method, resulting in a massive and controlled information disclosure.CVSS7.5HighEPSS7.53%PrioritiseCVE-2018-8777canonical · ubuntu_linux +7 morecanonical ubuntu_linuxIn Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker can pass a large HTTP request with a crafted header to WEBrick server or a crafted body to WEBrick server/handler and cause a denial of service (memory consumption).CVSS7.5HighEPSS4.46%PrioritiseCVE-2018-6914canonical · ubuntu_linux +7 morecanonical ubuntu_linuxDirectory traversal vulnerability in the Dir.mktmpdir method in the tmpdir library in Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 might allow attackers to create arbitrary directories or files via a .. (dot dot) in the prefix argument.CVSS7.5HighEPSS10.16%RoutineCVE-2017-17742debian · debian_linux +7 moredebian debian_linuxRuby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1 allows an HTTP Response Splitting attack. An attacker can inject a crafted key and value into an HTTP response for the HTTP server of WEBrick.CVSS5.3MediumEPSS5.45%PrioritiseCVE-2017-17790ruby-lang · ruby +2 moreruby-lang rubyThe lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a '|' character, a different vulnerability than CVE-2017-17405. NOTE: situations with untrusted input may be highly unlikely.CVSS9.8CriticalEPSS5.91%PrioritiseCVE-2017-17405debian · debian_linux +27 moredebian debian_linuxRuby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.CVSS9.3CriticalEPSS73.83%PrioritiseCVE-2017-14033ruby-lang · ruby +5 moreruby-lang rubyThe decode method in the OpenSSL::ASN1 module in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows attackers to cause a denial of service (interpreter crash) via a crafted string.CVSS7.5HighEPSS7.73%RoutineCVE-2017-10784ruby-lang · ruby +6 moreruby-lang rubyThe Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before 2.3.5, and 2.4.x through 2.4.1 allows remote attackers to inject terminal emulator escape sequences into its log and possibly execute arbitrary commands via a crafted user name.CVSS9.3CriticalEPSS16.41%PrioritiseCVE-2017-0898hackerone · ruby +6 morehackerone rubyRuby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) with a huge minus value. Such situation can lead to a buffer overrun, resulting in a heap memory corruption or an information disclosure from the heap.CVSS9.1CriticalEPSS9.72%PrioritiseCVE-2014-6438ruby-lang · ruby +1 moreruby-lang rubyThe URI.decode_www_form_component method in Ruby before 1.9.2-p330 allows remote attackers to cause a denial of service (catastrophic regular expression backtracking, resource consumption, or application crash) via a crafted string.CVSS7.5HighEPSS4.13%