Skip to content
OpenAdvisories

Ecosystem

RubyGems

1,141 known vulnerabilities.

1,129 results · Feed

  • Medium 6.4

    OS Command Injection in Rake

    There 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 `|`.

  • Medium 5.7

    Denial of Service in uap-core when processing crafted User-Agent strings

    uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overlo…

  • High 7.5

    Moped Rubygem Data Injection Vulnerability

    The Moped::BSON::ObjecId.legal? method in rubygem-moped before commit dd5a7c14b5d2e466f7875d079af71ad19774609b allows remote attackers to cause a denial of service (worker resource consumption) or perform a cross-site scripting (XSS) attack via a crafted stri…

  • High 7.5

    BSON rubygem contains potential denial of service

    The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015…

  • Medium 6.5

    Improper Certificate Validation in Puppet

    Previously, Puppet operated on a model that a node with a valid certificate was entitled to all information in the system and that a compromised certificate allowed access to everything in the infrastructure. When a node's catalog falls back to the `default` …

  • High 7.5

    Nokogiri is vulnerable to XML External Entity (XXE) attack

    Nokogiri before 1.5.4 is vulnerable to XXE attacks

  • High 7.7

    XSS/Script injection vulnerability in matestack

    matestack-ui-core (RubyGem) before 0.7.4 is vulnerable to XSS/Script injection. This vulnerability is patched in version 0.7.4.

  • Critical 9.8

    PDFKit Improper Input Validation vulnerability

    Ruby PDFKit gem prior to 0.5.3 has a Code Execution Vulnerability

  • Critical 9.8

    omniauth-weibo-oauth2 included a code-execution backdoor inserted by a third party

    The omniauth-weibo-oauth2 gem 0.4.6 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. Versions through 0.4.5, and 0.5.1 and later, are unaffected.

  • Critical 9.8

    SQL Injection in Geocoder

    sql.rb in Geocoder before 1.6.1 allows Boolean-based SQL injection when within_bounding_box is used in conjunction with untrusted sw_lat, sw_lng, ne_lat, or ne_lng data.

  • Medium 4.4

    Limited header injection when using dynamic overrides with user input in RubyGems secure_headers

    In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.9.0, 5.2.0, and 6.3.0. If user-supplied input was passed into append/override_content_security_policy_directives, a newline could be injected leadi…

  • Medium 4.4

    Directive injection when using dynamic overrides with user input in RubyGems secure_headers

    In Secure Headers (RubyGem secure_headers), a directive injection vulnerability is present in versions before 3.8.0, 5.1.0, and 6.2.0. If user-supplied input was passed into append/override_content_security_policy_directives, a semicolon could be injected lea…

  • Critical 9.8

    BibTeX-Ruby vulnerable to OS command injection

    BibTeX-ruby before 5.1.0 allows shell command injection due to unsanitized user input being passed directly to the built-in Ruby Kernel.open method through BibTeX.open.

  • High 7.5

    libxml as used in Nokogiri has an infinite loop in a certain end-of-file situation

    xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation.

  • Critical 9.8

    papercrop does not properly handle crop input

    The papercrop gem before 0.3.0 for Ruby on Rails does not properly handle crop input.

  • High 7.5

    Publify vulnerable to DoS attack

    Publify before 8.0.1 is vulnerable to a Denial of Service attack

  • Medium 5.4

    Features file injection vulnerability

    File injection vulnerability in Ruby gem Features 0.3.0 allows remote attackers to inject malicious html in the /tmp directory.

  • Critical 9.8
    CVE-2019-19919 Public exploit

    Prototype Pollution in handlebars

    Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payl…

  • Medium 6.3

    Possible Information Leak / Session Hijack Vulnerability in Rack

    There's a possible information leak / session hijack vulnerability in Rack (RubyGem rack). This vulnerability is patched in versions 1.6.12 and 2.0.8. Attackers may be able to find and hijack sessions by using timing attacks targeting the session id. Session …

  • Medium 5.8

    In RubyGem excon, interrupted Persistent Connections May Leak Response Data

    In RubyGem excon before 0.71.0, there was a race condition around persistent connections, where a connection which is interrupted (such as by a timeout) would leave data on the socket. Subsequent requests would then read this data, returning content from the …

  • High 7.5

    omniauth-facebook Improper Authentication vulnerability

    RubyGem omniauth-facebook has an access token security vulnerability

  • High 7.5

    Nokogiri implementation of libxslt vulnerable to heap corruption

    Type confusion in xsltNumberFormatGetMultipleLevel prior to libxslt 1.1.33 could allow attackers to potentially exploit heap corruption via crafted XML data.

  • Critical 9.8

    RubyGem openshift-origin-controller is vulnerable to command injection

    rubygem-openshift-origin-controller: API can be used to create applications via cartridge_cache.rb URI.prase() to perform command injection

  • Medium 5.3

    Potential DOS attack in Puma

    In Puma before versions 3.12.2 and 4.3.1, a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. If more keepalive connections to Puma are opened than there are threads available, additional co…

  • Medium 4.1

    Katello cleartext password storage issue

    A cleartext password storage issue was discovered in Katello, versions 3.x.x.x before katello 3.12.0.9. Registry credentials used during container image discovery were inadvertently logged without being masked. This flaw could expose the registry credentials …

  • Medium 5.5

    openshift-origin-node Improper Input Validation vulnerability

    Ruby gem openshift-origin-node before 2014-02-14 does not contain a cronjob timeout which could result in a denial of service in cron.daily and cron.weekly.

  • Medium 5.5

    net-ldap has weak salt when generating passwords

    The Ruby net-ldap gem before 0.11 uses a weak salt when generating SSHA passwords.

  • High 7.5

    RubyGems passenger gem allows remote attackers to delete files

    RubyGems passenger 4.0.0 betas 1 and 2 allows remote attackers to delete arbitrary files during the startup process.

  • Medium 5.3

    The rack-cors rubygem may allow directory traveral

    An issue was discovered in the rack-cors (aka Rack CORS Middleware) gem before 1.0.4 for Ruby. It allows ../ directory traversal to access private resources because resource matching does not ensure that pathnames are in a canonical format.

  • High 7.5

    JSON-jwt Gem lacked element count during splitting of JWE string

    The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.

  • High 7.3

    Prototype Pollution in chartkick

    Chartkick.js 3.1.0 through 3.1.3, as used in the Chartkick gem before 3.3.0 for Ruby, allows prototype pollution.

  • High 7.5

    Missing Initialization of Resource in Apache Arrow

    It was discovered that the C++ implementation (which underlies the R, Python and Ruby implementations) of Apache Arrow 0.14.0 to 0.14.1 had a uninitialized memory bug when building arrays with null values in some cases. This can lead to uninitialized memory b…

  • High 7.5

    Missing Initialization of Resource in Apache Arrow

    While investigating UBSAN errors in https://github.com/apache/arrow/pull/5365 it was discovered Apache Arrow versions 0.12.0 to 0.14.1, left memory Array data uninitialized when reading RLE null data from parquet. This affected the C++, Python, Ruby and R imp…

  • Medium 6.5

    Nokogiri vulnerable to DoS while parsing XML entities

    Nokogiri gem 1.5.x and 1.6.x has DoS while parsing XML entities by failing to apply limits

  • Medium 6.5

    Nokogiri vulnerable to DoS while parsing XML documents

    Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents

  • High 7.8

    Ruby_parser-legacy Incorrect Permission Assignment for Critical Resource

    The ruby_parser-legacy (aka legacy) gem 1.0.0 for Ruby allows local privilege escalation because of world-writable files. For example, if the brakeman gem (which has a legacy dependency) 4.5.0 through 4.7.0 is used, a local user can insert malicious code into…

  • Medium 5.4

    Loofah Allows Cross-site Scripting

    In the Loofah gem for Ruby through v2.3.0 unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

  • High 7.5

    Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

    In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written …

  • Medium 6.1

    Haml vulnerable to cross-site scripting

    In haml versions prior to version 5.0.0.beta.2, when using user input to perform tasks on the server, characters like < > " ' must be escaped properly. In this case, the ' character was missed. An attacker can manipulate the input to introduce additional attr…

  • Critical 9.8

    netaddr before 1.5.3 and 2.0.4 has Incorrect Default Permissions

    The netaddr gem before 2.0.4 for Ruby has misconfigured file permissions, such that a gem install may result in 0777 permissions in the target filesystem.