Lucene search
+L
RubygemsRecent

1292 matches found

RubySec
RubySec
•added 2018/06/12 12:00 a.m.•73 views

Null pointer dereference in mrb_class

An issue was discovered in mruby 1.4.1. There is a NULL pointer dereference in mrbclass, related to certain .clone usage, because mrbobjclone in kernel.c copies flags other than the MRBFLAGISFROZEN flag e.g., the embedded flag...

7.5CVSS6.8AI score0.01552EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/06/12 12:00 a.m.•31 views

Heap buffer overflow in OP_ENTER

An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OPENTER because a heap-based mrbgems/mruby-fiber/src/fiber.c does not extend the stack in cases of many arguments to fiber...

7.5CVSS7AI score0.01552EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/06/05 12:00 a.m.•23 views

Use of uninitialized pointer in mrb_hash_keys

The initcopy function in kernel.c in mruby 1.4.1 makes initializecopy calls for TTICLASS objects, which allows attackers to cause a denial of service mrbhashkeys uninitialized pointer and application crash or possibly have unspecified other impact...

9.8CVSS7.4AI score0.02203EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/05/31 12:00 a.m.•34 views

XSS via the 400 Bad Request page

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception...

6.1CVSS3.6AI score0.02193EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/05/23 12:00 a.m.•45 views

ruby-grape Gem has XSS via "format" parameter

When request on API contains the "format" parameter in GET, the input value of this parameter is rendered as the web-server responds with text/html header. Example: http://example.com/api/endpoint?format=%3Cscript%3Ealertdocument.cookie%3C/script%3E...

6.1CVSS1.5AI score0.01428EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/05/03 12:00 a.m.•28 views

private_address_check Ruby Gem Time-of-check Time-of-use race condition

privateaddresscheck ruby gem before 0.5.0 is vulnerable to a time-of-check time-of-use TOCTOU race condition due to the address the socket uses not being checked. DNS entries with a TTL of 0 can trigger this case where the initial resolution is a public address by the subsequent resolution is a...

4.3CVSS2.8AI score0.00691EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/30 12:00 a.m.•19 views

Auth tag forgery vulnerability with AES-GCM encrypted JWT

Ruby's OpenSSL bindings do not check the length of the supplied authentication tag when decrypting an authenticated encryption mode such as AES-GCM, leaving this up to the authors of a gem/app to implement for properly validating the message. json-jwt was not checking for the authentication tag...

5.3CVSS2.2AI score0.00777EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/23 12:00 a.m.•36 views

Insecure path handling in Bundler

Bundler prior to 2.1.0 uses a predictable path in /tmp/, created with insecure permissions as a storage location for gems, if locations under the user's home directory are not available. If Bundler is used in a scenario where the user does not have a writable home directory, an attacker could pla...

7.8CVSS6.7AI score0.00529EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/18 12:00 a.m.•57 views

Use after free in File#initilialize_copy

In versions of mruby up to and including 1.4.0, a use-after-free vulnerability exists in src/io.c::Fileinitilializecopy. An attacker that can cause Ruby code to be run can possibly use this to execute arbitrary code...

9.8CVSS7.6AI score0.02308EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/17 12:00 a.m.•27 views

Use after free caused by integer overflow in environment stack

In versions of mruby up to and including 1.4.0, an integer overflow exists in src/vm.c::mrbvmexec when handling OPGETUPVAR in the presence of deep scope nesting, resulting in a use-after-free. An attacker that can cause Ruby code to be run can use this to possibly execute arbitrary code...

9.8CVSS7.5AI score0.02605EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/04/13 12:00 a.m.•50 views

Moderate severity vulnerability that affects nokogiri

The xzhead function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service memory consumption via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file. References: -...

6.5CVSS7.2AI score0.02706EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/03 12:00 a.m.•10 views

Buffer under-read in String#unpack

An attacker controlling the unpacking format similar to format string vulnerabilities can trigger a buffer under-read in the Stringunpack method, resulting in a massive and controlled information disclosure. Stringunpack receives format specifiers as its parameter, and can be specified the positi...

7.5CVSS7.4AI score0.07529EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/04/03 12:00 a.m.•13 views

HTTP response splitting attack in WEBrick

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

5.3CVSS6.5AI score0.05453EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/29 12:00 a.m.•74 views

Revert libxml2 behavior in Nokogiri gem that could cause XSS

MRI Behavior in libxml2 has been reverted which caused CVE-2018-8048 loofah gem, CVE-2018-3740 sanitize gem, and CVE-2018-3741 rails-html-sanitizer gem. The commit in question is here: https://github.com/GNOME/libxml2/commit/960f0e2 and more information is available about this commit and its impa...

6.1CVSS0.7AI score0.01925EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•59 views

Unintentional directory traversal by poisoned NUL byte in Dir

There is an unintentional directory traversal in some methods in Dir Dir.open, Dir.new, Dir.entries and Dir.empty? accept the path of the target directory as their parameter. If the parameter contains NUL \0 bytes, these methods recognize that the path is completed before the NUL bytes. So, if a...

9.1CVSS6.9AI score0.09718EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•43 views

Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket

There is a unintentional socket creation vulnerability in UNIXServer.open method of socket library bundled with Ruby. And there is also a unintentional socket access vulnerability in UNIXSocket.open method. UNIXServer.open accepts the path of the socket to be created at the first parameter. If th...

7.5CVSS6.7AI score0.06896EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•39 views

DoS by large request in WEBrick

There is a out-of-memory DoS vulnerability with a large request in WEBrick bundled with Ruby If an attacker sends a large request which contains huge HTTP headers, WEBrick try to process it on memory, so the request causes the out-of-memory DoS attack. All users running an affected release should...

7.5CVSS2.1AI score0.04458EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•64 views

Unintentional file and directory creation with directory traversal in tempfile and tmpdir

There is an unintentional directory creation vulnerability in tmpdir library bundled with Ruby. And there is also an unintentional file creation vulnerability in tempfile library bundled with Ruby, because it uses tmpdir internally Dir.mktmpdir method introduced by tmpdir library accepts the pref...

7.5CVSS2.5AI score0.10156EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•54 views

Buffer under-read in String#unpack

Stringunpack receives format specifiers as its parameter, and can be specified the position of parsing the data by the specifier @. If a big number is passed with @, the number is treated as the negative value, and out-of-buffer read is occurred. So, if a script accepts an external input as the...

7.5CVSS6.7AI score0.07529EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/28 12:00 a.m.•56 views

HTTP response splitting in WEBrick

There is an HTTP response splitting vulnerability in WEBrick bundled with Ruby. If a script accepts an external input and outputs it without modification as a part of HTTP responses, an attacker can use newline characters to deceive the clients that the HTTP response header is stopped at there, a...

5.3CVSS6.7AI score0.05453EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/22 12:00 a.m.•36 views

XSS vulnerability in rails-html-sanitizer

There is a possible XSS vulnerability in rails-html-sanitizer. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-804...

6.1CVSS0.7AI score0.01925EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/19 12:00 a.m.•31 views

HTML injection/XSS in Sanitize

When Sanitize gem is used in combination with libxml2 = 2.9.2, a specially crafted HTML fragment can cause libxml2 to generate improperly escaped output, allowing non-whitelisted attributes to be used on whitelisted elements. This can allow HTML and JavaScript injection, which could result in XSS...

7.5CVSS1.9AI score0.01468EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/16 12:00 a.m.•30 views

Loofah XSS Vulnerability

Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments...

6.1CVSS0.7AI score0.01925EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/03/07 12:00 a.m.•35 views

rack-protection gem timing attack vulnerability when validating CSRF token

Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains a timing attack vulnerability in the CSRF token checking that can result in signatures can be exposed. This attack appear to be exploitable via network connectivity to the ruby application...

5.9CVSS4.9AI score0.02404EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/02/27 12:00 a.m.•43 views

Authentication bypass via incorrect XML canonicalization and DOM traversal

ruby-saml prior to version 1.7.0 is vulnerable to an authentication bypass via incorrect XML canonicalization and DOM traversal. Specifically, there are inconsistencies in handling of comments within XML nodes, resulting in incorrect parsing of the inner text of XML nodes such that any inner text...

9.8CVSS4AI score0.02444EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/02/27 12:00 a.m.•28 views

omniauth-saml authentication bypass via incorrect XML canonicalization and DOM traversal

OmniAuth OmnitAuth-SAML 1.9.0 and earlier may incorrectly utilize the results of XML DOM traversal and canonicalization APIs in such a way that an attacker may be able to manipulate the SAML data without invalidating the cryptographic signature, allowing the attack to potentially bypass...

9.8CVSS4.7AI score0.02415EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/02/21 12:00 a.m.•49 views

Doorkeeper gem has stored XSS on authorization consent view

Stored XSS on the OAuth Client's name will cause users being prompted for consent via the "implicit" grant type to execute the XSS payload. The XSS attack could gain access to the user's active session, resulting in account compromise. Any user is susceptible if they click the authorization link...

6.1CVSS2.7AI score0.01428EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/02/19 12:00 a.m.•56 views

Multiple persistent XSS vulnerabilities in Radiant CMS

There are multiple Persistent XSS vulnerabilities in Radiant CMS. They affect Personal Preferences Name and Username and Configuration Site Title, Dev Site Domain, Page Parts, and Page Fields...

5.4CVSS3.3AI score0.00597EPSS
SaveExploits2References1
RubySec
RubySec
•added 2018/02/18 12:00 a.m.•33 views

Path traversal is possible via backslash characters on Windows.

An issue was discovered in rack-protection 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters...

5.3CVSS4.9AI score0.01838EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/01/29 12:00 a.m.•43 views

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

The version of libxml2 packaged with Nokogiri contains a vulnerability. Nokogiri has mitigated these issue by upgrading to libxml 2.9.5. Wei Lei discovered that libxml2 incorrecty handled certain parameter entities. An attacker could use this issue with specially constructed XML data to cause...

7.5CVSS3.3AI score0.05928EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/01/29 12:00 a.m.•38 views

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

The version of libxml2 packaged with Nokogiri contains a vulnerability. Nokogiri has mitigated these issue by upgrading to libxml 2.9.6. It was discovered that libxml2 incorrecty handled certain files. An attacker could use this issue with specially constructed XML data to cause libxml2 to consum...

8.8CVSS3.8AI score0.02938EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/01/23 12:00 a.m.•32 views

Paperclip ruby gem suffers from a Server-Side Request Forgery (SSRF) vulnerability in the Paperclip::UriAdapter and Paperclip::HttpUrlProxyAdapter class.

Paperclip gem provides multiple ways a file can be uploaded to a web server. The vulnerability affects two of Paperclip’s IO adapters that accept URLs as attachment data UriAdapter and HttpUrlProxyAdapter. When these adapters are used, Paperclip acts as a proxy and downloads the file from the...

9.8CVSS1.4AI score0.03053EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/01/22 12:00 a.m.•62 views

Cross-Site Scripting (XSS) in jquery

Affected versions of jquery interpret text/javascript responses from cross-origin ajax requests, and automatically execute the contents in jQuery.globalEval, even when the ajax request doesn't contain the dataType option...

6.1CVSS7.1AI score0.29726EPSS
SaveExploits2References1Affected Software1
RubySec
RubySec
•added 2018/01/18 12:00 a.m.•21 views

Denial of Service in jquery

Affected versions of jquery use a lowercasing logic on attribute names. When given a boolean attribute with a name that contains uppercase characters, jquery enters into an infinite recursion loop, exceeding the call stack limit, and resulting in a denial of service condition. Recommendation Upda...

7.5CVSS6.8AI score0.02886EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2018/01/10 12:00 a.m.•20 views

rails_admin ruby gem XSS vulnerability

An exploitable cross site scripting XSS vulnerability exists in the add filter functionality of the railsadmin rails gem version 1.2.0. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish ...

6.1CVSS4AI score0.01279EPSS
SaveExploits3References1Affected Software1
RubySec
RubySec
•added 2018/01/10 12:00 a.m.•21 views

delayed_job_web ruby gem XSS vulnerability via `queues` parameter

An exploitable cross site scripting XSS vulnerability exists in the filter functionality of the delayedjobweb ruby gem. A specially crafted URL can cause an XSS flaw resulting in an attacker being able to execute arbitrary javascript on the victim's browser. An attacker can phish an authenticated...

6.1CVSS2.8AI score0.01012EPSS
SaveExploits3References1Affected Software1
RubySec
RubySec
•added 2018/01/09 12:00 a.m.•42 views

sinatra ruby gem path traversal via backslash characters on Windows

An issue was discovered in rack-protection/lib/rack/protection/pathtraversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters...

5.3CVSS5.2AI score0.01838EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/01/04 12:00 a.m.•32 views

Radiant CMS 1.1.4 Markdown admin/pages/*/edit part_body_content cross site scripting

Radiant CMS 1.1.4 has XSS via crafted Markdown input in the partbodycontent parameter to an admin/pages//edit resource...

5.4CVSS2.7AI score0.00537EPSS
SaveExploits1References1
RubySec
RubySec
•added 2017/12/20 12:00 a.m.•37 views

The lazy_initialize function in lib/resolv.rb in Ruby

The lazyinitialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernelopen, 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 ma...

9.8CVSS9.5AI score0.05913EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2017/12/17 12:00 a.m.•36 views

No validation of hostname certificate in net-ldap

The Net::LDAP aka net-ldap gem before 0.16.0 for Ruby has Missing SSL Certificate Validation. The LDAP server's certificate was not verified to match the host it was supposed to be connecting to...

5.9CVSS1AI score0.01348EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/12/14 12:00 a.m.•76 views

Command injection vulnerability in Net::FTP

There is a command injection vulnerability in Net::FTP bundled with Ruby. Net::FTPget, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernelopen to open a local file. If the localfile argument starts with the pipe character "|", the command following the pipe character is...

9.3CVSS7.1AI score0.73829EPSS
SaveExploits5References1Affected Software1
RubySec
RubySec
•added 2017/11/28 12:00 a.m.•22 views

Potential arbitrary file read vulnerability in yard server

lib/yard/coreext/file.rb in the server in YARD before 0.9.11 does not block relative paths with an initial ../ sequence, which allows attackers to conduct directory traversal attacks and read arbitrary files...

7.5CVSS5.2AI score0.02894EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/16 12:00 a.m.•51 views

gollum and gollum-lib allow remote authenticated users to execute arbitrary code

The gollum-gritadapter Ruby gem dependency in gollum before 3.1.1 and the gollum-lib gem dependency in gollum-lib before 4.0.1 when the string master is in any of the wiki documents, allows remote authenticated users to execute arbitrary code via the -O or --open-files-in-pager flags...

8.8CVSS7AI score0.02292EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/16 12:00 a.m.•28 views

Unsafe objects can be loaded from Redis

Redis-store =v1.3.0 allows unsafe objects to be loaded from Redis via the use of the Marshal serializer...

9.8CVSS4.2AI score0.01983EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/16 12:00 a.m.•53 views

gollum and gollum-lib allow remote authenticated users to execute arbitrary code

The gollum-gritadapter Ruby gem dependency in gollum before 3.1.1 and the gollum-lib gem dependency in gollum-lib before 4.0.1 when the string master is in any of the wiki documents, allows remote authenticated users to execute arbitrary code via the -O or --open-files-in-pager flags...

8.8CVSS7AI score0.02292EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/15 12:00 a.m.•43 views

cairo NULL pointer dereference

Cairo version 1.15.4 is vulnerable to a NULL pointer dereference related to the FTLoadGlyph and FTRenderGlyph resulting in an application crash...

5.5CVSS3.4AI score0.01824EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/10 12:00 a.m.•54 views

Stored XSS in "geminabox" via injection in Gemspec "homepage" value

Stored cross-site scripting XSS vulnerability in "geminabox" Gem in a Box allows attackers to inject arbitrary web script via a crafted JavaScript URL in the "homepage" value of a ".gemspec" file. A ".gemspec" file must be created with a JavaScript URL in the homepage value. This can be used to...

6.1CVSS1.1AI score0.01084EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/09 12:00 a.m.•62 views

private_address_check Ruby Gem Blacklist Bypass privilege escalation

The privateaddresscheck ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete blacklist of common private/local network addresses used to prevent server-side request forgery...

9.8CVSS8.4AI score0.02032EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/09 12:00 a.m.•25 views

SSRF vulnerability in Recurly gem's Resource#find.

If you are using the find method on any of the classes that are derived from the Resource class and you are passing user input into that method, a malicious user can force the http client to reach out to a server under their control. This can lead to leakage of your private API key. Because of th...

9.8CVSS0.9AI score0.02594EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/11/07 12:00 a.m.•58 views

private_address_check Ruby Gem Resolv.getaddresses Server-Side Request Forgery

The privateaddresscheck ruby gem before 0.4.0 is vulnerable to a bypass due to use of Ruby's Resolv.getaddresses method, which is OS-dependent and should not be relied upon for security measures, such as when used to blacklist private network addresses to prevent server-side request forgery...

8.1CVSS1.4AI score0.02415EPSS
SaveExploits0References1Affected Software1
Total number of security vulnerabilities1292