Ruby Lang vulnerabilities, page 2
119 vulnerabilities
Known vulnerabilities in Ruby Lang products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 15 products.
RoutineCVE-2023-28755debian · debian_linux +19 moredebian debian_linuxA ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.12.1, 0.11.1, 0.10.2 and 0.10.0.1.CVSS5.3MediumEPSS2.64%PrioritiseCVE-2021-33621fedoraproject · fedora +41 morefedoraproject fedoraThe cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.CVSS8.8HighEPSS3.06%PrioritiseCVE-2022-28739apple · macos +53 moreapple macosThere is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.CVSS7.5HighEPSS4.53%PrioritiseCVE-2022-28738ruby-lang · ruby +2 moreruby-lang rubyA double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.CVSS9.8CriticalEPSS3.14%PrioritiseCVE-2021-41816fedoraproject · fedora +6 morefedoraproject fedoraCGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby.CVSS9.8CriticalEPSS5.26%PrioritiseCVE-2021-41819debian · debian_linux +19 moredebian debian_linuxCGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby.CVSS7.5HighEPSS3.20%PrioritiseCVE-2021-41817debian · debian_linux +15 moredebian debian_linuxDate.parse in the date gem through 3.2.0 for Ruby allows ReDoS (regular expression Denial of Service) via a long string. The fixed versions are 3.2.1, 3.1.2, 3.0.2, and 2.0.1.CVSS7.5HighEPSS3.46%PrioritiseCVE-2021-32066oracle · jd_edwards_enterpriseone_tools +6 moreoracle jd_edwards_enterpriseone_toolsAn issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack."CVSS7.4HighEPSS2.91%RoutineCVE-2021-31799debian · debian_linux +8 moredebian debian_linuxIn RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.CVSS7.0HighEPSS1.48%PrioritiseCVE-2021-28966ruby-lang · ruby +2 moreruby-lang rubyIn Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.CVSS7.5HighEPSS58.04%RoutineCVE-2021-31810debian · debian_linux +7 moredebian debian_linuxAn issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions).CVSS5.8MediumEPSS3.10%PrioritiseCVE-2021-28965fedoraproject · fedora +11 morefedoraproject fedoraThe REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.CVSS7.5HighEPSS4.45%PrioritiseCVE-2020-25613fedoraproject · fedora +26 morefedoraproject fedoraAn issue was discovered in Ruby through 2.5.8, 2.6.x through 2.6.6, and 2.7.x through 2.7.1. WEBrick, a simple HTTP server bundled with Ruby, had not checked the transfer-encoding header value rigorously. An attacker may potentially exploit this issue to bypass a reverse proxy (which also has a poor header check), which may lead to an HTTP Request Smuggling attack.CVSS7.5HighEPSS3.96%RoutineCVE-2020-10933debian · debian_linux +7 moredebian debian_linuxAn issue was discovered in Ruby 2.5.x through 2.5.7, 2.6.x through 2.6.5, and 2.7.0. If a victim calls BasicSocket#read_nonblock(requested_size, buffer, exception: false), the method resizes the buffer to fit the requested size, but no data is copied. Thus, the buffer string provides the previous value of the heap. This may expose possibly sensitive data from the interpreter.CVSS5.3MediumEPSS2.53%RoutineCVE-2020-5247puma +6 moreHTTP Response Splitting in PumaIn Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. `CR`, `LF` or`/r`, `/n`) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.CVSS7.5HighEPSS2.55%RoutineCVE-2020-8130canonical · ubuntu_linux +9 morecanonical ubuntu_linuxThere is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`.CVSS6.9MediumEPSS1.36%PrioritiseCVE-2016-2338debian · debian_linux +5 moredebian debian_linuxAn exploitable heap overflow vulnerability exists in the Psych::Emitter start_document function of Ruby. In Psych::Emitter start_document function heap buffer "head" allocation is made based on tags array length. Specially constructed object passed as element of tags array can increase this array size after mentioned allocation and cause heap overflow.CVSS9.8CriticalEPSS4.83%RoutineCVE-2015-1855ruby +11 moreruby rubyverify_certificate_identity in the OpenSSL extension in Ruby before 2.0.0 patchlevel 645, 2.1.x before 2.1.6, and 2.2.x before 2.2.2 does not properly validate hostnames, which allows remote attackers to spoof servers via vectors related to (1) multiple wildcards, (1) wildcards in IDNA names, (3) case sensitivity, and (4) non-ASCII characters.CVSS5.9MediumEPSS2.81%RoutineCVE-2019-15845canonical · ubuntu_linux +4 morecanonical ubuntu_linuxRuby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 mishandles path checking within File.fnmatch functions.CVSS6.5MediumEPSS2.97%PrioritiseCVE-2011-4121openssl · openssl extension of ruby (git trunk) +1 moreopenssl openssl extension of ruby (git trunk)The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value of '1' to be used for private RSA key generation. A remote attacker could use this flaw to bypass or corrupt integrity of services, depending on strong private RSA keys generation mechanism.CVSS9.8CriticalEPSS2.53%