Lucene search
+L
RubygemsRecent

1292 matches found

RubySec
RubySec
•added 2020/06/17 12:00 a.m.•42 views

Untrusted users able to run pending migrations in production

There is a vulnerability in versions of Rails prior to 6.0.3.2 that allowed an untrusted user to run any pending migrations on a Rails app running in production. This vulnerability has been assigned the CVE identifier CVE-2020-8185. Versions Affected: 6.0.0 = 6.0.3.2 Impact ------ Using this issu...

6.5CVSS4.3AI score0.02181EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/06/16 12:00 a.m.•22 views

Cross-site scripting vulnerability via `<math>` or `<svg>` element in Sanitize

When HTML is sanitized using Sanitize's "relaxed" config or a custom config that allows certain elements, some content in a or element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config o...

7.3CVSS6.2AI score0.01853EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/06/15 12:00 a.m.•78 views

Percent-encoded cookies can be used to overwrite existing prefixed cookie names

It is possible to forge a secure or host-only cookie prefix in Rack using an arbitrary cookie write by using URL encoding percent-encoding on the name of the cookie. This could result in an application that is dependent on this prefix to determine if a cookie is safe to process being manipulated...

7.5CVSS2.9AI score0.02938EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/06/05 12:00 a.m.•20 views

Regular Expression Denial of Service in websocket-extensions (RubyGem)

Impact The ReDoS flaw allows an attacker to exhaust the server's capacity to process incoming requests by sending a WebSocket handshake request containing a header of the following form: Sec-WebSocket-Extensions: a; b="\c\c\c\c\c\c\c\c\c\c ... That is, a header containing an unclosed string...

7.5CVSS6.7AI score0.04526EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/05/28 12:00 a.m.•45 views

Cross-Site Scripting in Kaminari via `original_script_name` parameter

Impact There was a vulnerability in versions of Kaminari that would allow an attacker to inject arbitrary code into pages with pagination links. For example, an attacker could craft pagination links that link to other domain or host:...

6.4CVSS7AI score0.01508EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/22 12:00 a.m.•47 views

HTTP Smuggling via Transfer-Encoding Header in Puma

Impact This is a similar but different vulnerability to the one patched in 3.12.5 and 4.3.4. A client could smuggle a request through a proxy, causing the proxy to send a response back to another unknown client. If the proxy uses persistent connections and the client adds another request in via...

7.5CVSS6.7AI score0.02806EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/22 12:00 a.m.•43 views

HTTP Smuggling via Transfer-Encoding Header in Puma

Impact By using an invalid transfer-encoding header, an attacker could smuggle an HTTP response. Patches The problem has been fixed in Puma 3.12.5 and Puma 4.3.4...

7.5CVSS6.9AI score0.04088EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/20 12:00 a.m.•28 views

Cross-Site Scripting in jquery

Versions of jquery prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove "" HTML tags that contain a whitespace character, i.e: "", which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a...

6.1CVSS7.4AI score0.06273EPSS
SaveExploits4References1Affected Software1
RubySec
RubySec
•added 2020/05/18 12:00 a.m.•176 views

Circumvention of file size limits in ActiveStorage

There is a vulnerability in ActiveStorage's S3 adapter that allows the Content-Length of a direct file upload to be modified by an end user. Versions Affected: rails = 5.2.4.3, rails = 6.0.3.1 Impact ------ Utilizing this vulnerability, an attacker can control the Content-Length of an S3 direct...

7.5CVSS3.5AI score0.03028EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/05/18 12:00 a.m.•41 views

Potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore

There is potentially unexpected behaviour in the MemCacheStore and RedisCacheStore where, when untrusted user input is written to the cache store using the raw: true parameter, re-reading the result from the cache can evaluate the user input as a Marshalled object instead of plain text. Vulnerabl...

9.8CVSS2.6AI score0.45732EPSS
SaveExploits5References1Affected Software1
RubySec
RubySec
•added 2020/05/18 12:00 a.m.•31 views

Possible Strong Parameters Bypass in ActionPack

There is a strong parameters bypass vector in ActionPack. Versions Affected: rails = 5.2.4.3, rails = 6.0.3.1 Impact ------ In some cases user supplied information can be inadvertently leaked from Strong Parameters. Specifically the return value of each, or eachvalue, or eachpair will return the...

7.5CVSS2.8AI score0.04198EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/05/18 12:00 a.m.•40 views

CSRF Vulnerability in rails-ujs

There is an vulnerability in rails-ujs that allows attackers to send CSRF tokens to wrong domains. Versions Affected: rails = 5.2.4.3, rails = 6.0.3.1 Impact ------ This is a regression of CVE-2015-1840. In the scenario where an attacker might be able to control the href attribute of an anchor ta...

6.5CVSS2AI score0.04519EPSS
SaveExploits2References1Affected Software1
RubySec
RubySec
•added 2020/05/18 12:00 a.m.•35 views

Ability to forge per-form CSRF tokens given a global CSRF token

It is possible to possible to, given a global CSRF token such as the one present in the authenticitytoken meta tag, forge a per-form CSRF token for any action for that session. Versions Affected: rails = 5.2.4.3, rails = 6.0.3.1 Impact ------ Given the ability to extract the global CSRF token, an...

4.3CVSS2AI score0.01673EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/05/15 12:00 a.m.•32 views

Potential remote code execution of user-provided local names in ActionView

There was a vulnerability in versions of Rails prior to 5.0.1 that would allow an attacker who controlled the locals argument of a render call. Versions Affected: rails 5.0.1 Not affected: Applications that do not allow users to control the names of locals. Fixed Versions: 4.2.11.2 Impact ------ ...

8.8CVSS5.3AI score0.82047EPSS
SaveExploits10References1Affected Software1
RubySec
RubySec
•added 2020/05/12 12:00 a.m.•26 views

Directory traversal in Rack::Directory app bundled with Rack

There was a possible directory traversal vulnerability in the Rack::Directory app that is bundled with Rack. Versions Affected: rack = 2.2.0 Impact ------ If certain directories exist in a director that is managed by Rack::Directory, an attacker could, using this vulnerability, read the contents ...

8.6CVSS4.8AI score0.03359EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/07 12:00 a.m.•35 views

Improper Restriction of Excessive Authentication Attempts in Sorcery

Impact Brute force vulnerability when using password authentication via Sorcery. The brute force protection submodule will prevent a brute force attack for the defined lockout period, but once expired protection will not be re-enabled until a user or malicious actor logs in successfully. This doe...

9.8CVSS7.1AI score0.01598EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/06 12:00 a.m.•20 views

Arbitrary file write/potential remote code execution in actionpack-page_caching

There is a vulnerability in the actionpack-pagecaching gem that allows an attacker to write arbitrary files to a web server, potentially resulting in remote code execution if the attacker can write unescaped ERB to a view. Versions Affected: All versions of actionpack-pagecaching part of Rails...

9.8CVSS7.4AI score0.0525EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/05 12:00 a.m.•30 views

activeresource Gem for Ruby lib/active_resource/base.rb element_path Lack of Encoding

activeresource contains a lack of encoding flaw in the elementpath function of lib/activeresource/base.rb. There is an issue with the way Active Resource encodes data before querying the back end server. This encoding mechanism can allow specially crafted requests to possibly access data that may...

7.5CVSS2.9AI score0.02224EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/05/02 12:00 a.m.•26 views

Doorkeeper application secret information disclosure vulnerability

Information disclosure vulnerability. Allows an attacker to see all Doorkeeper::Application model attribute values including secrets after authorizing an application to their user. An application is vulnerable if the authorized applications controller is enabled GET...

7.5CVSS0.7AI score0.02016EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/04/29 12:00 a.m.•48 views

Potential XSS vulnerability in jQuery

Impact Passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods i.e. .html, .append, and others may execute untrusted code. Patches This problem is patched in jQuery 3.5.0. Workarounds To workaround the issue without upgrading, adding the...

6.9CVSS6.8AI score0.99215EPSS
SaveExploits8References1Affected Software1
RubySec
RubySec
•added 2020/04/29 12:00 a.m.•30 views

Authentication and extension bypass in Faye

On 20 April 2020 it was reported to me that the potential for authentication bypass exists in Faye1's extension system. This vulnerability has existed in the Node.js and Ruby versions of the server since version 0.5.0, when extensions were first introduced, in July 2010. It is patched in versions...

9.8CVSS7.2AI score0.01573EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/04/29 12:00 a.m.•47 views

Potential denial of service in bson rubygem

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

7.5CVSS5.3AI score0.06372EPSS
SaveExploits2References1Affected Software1
RubySec
RubySec
•added 2020/04/29 12:00 a.m.•37 views

Potential XSS vulnerability in jQuery

Impact Passing HTML containing elements from untrusted sources - even after sanitizing them - to one of jQuery's DOM manipulation methods i.e. .html, .append, and others may execute untrusted code. Workarounds To workaround this issue without upgrading, use DOMPurify with its SAFEFORJQUERY option...

6.9CVSS7AI score0.84887EPSS
SaveExploits7References1Affected Software1
RubySec
RubySec
•added 2020/03/31 12:00 a.m.•71 views

Heap exposure vulnerability in the socket library

A heap exposure vulnerability was discovered in the socket library. This vulnerability has been assigned the CVE identifier CVE-2020-10933. We strongly recommend upgrading Ruby. When BasicSocketrecvnonblock and BasicSocketreadnonblock are invoked with size and buffer arguments, they initially...

5.3CVSS1.3AI score0.02564EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/03/19 12:00 a.m.•38 views

Possible XSS vulnerability in ActionView

There is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the j or escapejavascript methods may be susceptible to XSS attacks. Versions Affected: All. Not affected: None. Fixed Versions: 6.0.2.2, 5.2.4.2 Impact ------ There is a possible XSS...

4.8CVSS6.3AI score0.01525EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/03/19 12:00 a.m.•61 views

json Gem for Ruby Unsafe Object Creation Vulnerability (additional fix)

There is an unsafe object creation vulnerability in the json gem bundled with Ruby. This vulnerability has been assigned the CVE identifier CVE-2020-10663. We strongly recommend upgrading the json gem. Details ------- When parsing certain JSON documents, the json gem including the one bundled wit...

7.5CVSS1.5AI score0.06811EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/03/19 12:00 a.m.•98 views

Unsafe Object Creation Vulnerability in JSON (Additional fix)

When parsing certain JSON documents, the json gem including the one bundled with Ruby can be coerced into creating arbitrary objects in the target system. This is the same issue as CVE-2013-0269. The previous fix was incomplete, which addressed JSON.parseuserinput, but didn’t address some other...

7.5CVSS1.3AI score0.06811EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/03/14 12:00 a.m.•48 views

Sort order SQL injection via `direction` parameter in administrate

In Administrate rubygem before version 0.13.0, when sorting by attributes on a dashboard, the direction parameter was not validated before being interpolated into the SQL query. This could present a SQL injection if the attacker were able to modify the direction parameter and bypass ActiveRecord...

8.1CVSS3.1AI score0.009EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/03/14 12:00 a.m.•62 views

rails_admin ruby gem XSS vulnerability

RailsAdmin aka railsadmin before 1.4.3 and 2.x before 2.0.2 allows XSS via nested forms...

6.1CVSS3.4AI score0.01278EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/03/10 12:00 a.m.•45 views

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

Impact Some regexes are vulnerable to regular expression denial of service REDoS due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTPS request to maliciously crafted long strings. Patches Please update uap-ruby to = v2.6....

7.5CVSS7.2AI score0.02261EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/03/03 12:00 a.m.•53 views

HTTP Response Splitting (Early Hints) in Puma

Impact If an application using Puma allows untrusted input in an early-hints header, an attacker can use a carriage return character 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...

7.5CVSS6.4AI score0.02549EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/02/27 12:00 a.m.•42 views

HTTP Response Splitting vulnerability in puma

If an application using Puma allows untrusted input in a response header, an attacker can use newline characters i.e. CR, LF 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 n...

7.5CVSS6.2AI score0.02549EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/02/14 12:00 a.m.•54 views

OS command injection in BibTeX-Ruby

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

10CVSS2.9AI score0.0281EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/02/12 12:00 a.m.•50 views

libxml2 2.9.10 has an infinite loop in a certain end-of-file situation

Nokogiri has backported the patch for CVE-2020-7595 into its vendored version of libxml2, and released this as v1.10.8 CVE-2020-7595 has not yet been addressed in an upstream libxml2 release, and so Nokogiri versions = v1.10.7 are vulnerable...

7.5CVSS7.8AI score0.07836EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/02/10 12:00 a.m.•64 views

matestack-ui-core is vulnerable to XSS/Script injection

matestack-ui-core does not excape strings by default and does not cover this in the docs. matestack-ui-core should escape strings by default in order to prevent XSS/Script injection vulnerability. v0.7.4 fixes that by escaping strings by default...

7.7CVSS2.6AI score0.00627EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/25 12:00 a.m.•38 views

Geocoder gem for Ruby contains possible SQL injection vulnerability

sql.rb in Geocoder allows Boolean-based SQL injection when withinboundingbox is used in conjunction with untrusted swlat, swlng, nelat, or nelng data...

9.8CVSS3.3AI score0.01484EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/01/23 12:00 a.m.•22 views

secure_headers directive injection using semicolon

If user-supplied input was passed into append/overridecontentsecuritypolicydirectives, a semicolon could be injected leading to directive injection. This could be used to e.g. override a script-src directive. Duplicate directives are ignored and the first one wins. The directives in secureheaders...

5.8CVSS6.7AI score0.0183EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/23 12:00 a.m.•25 views

secure_headers header injection due to newline

If user-supplied input was passed into append/overridecontentsecuritypolicydirectives, a newline could be injected leading to limited header injection. Upon seeing a newline in the header, rails will silently create a new Content-Security-Policy header with the remaining value of the original...

5.8CVSS6.9AI score0.01079EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/11 12:00 a.m.•64 views

heap use after free in hash_values_at in mrbgems/mruby-hash-ext/src/hash-ext.c

In mruby 2.1.0, there is a use-after-free in hashvaluesat in mrbgems/mruby-hash-ext/src/hash-ext.c...

9.8CVSS6.9AI score0.01501EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/11 12:00 a.m.•26 views

heap use after free in hash_slice in mrbgems/mruby-hash-ext/src/hash-ext.c

In mruby 2.1.0, there is a use-after-free in hashslice in mrbgems/mruby-hash-ext/src/hash-ext.c...

9.8CVSS6.9AI score0.01505EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/11 12:00 a.m.•106 views

stack overflow in mrb_str_len_to_dbl in src/string.c

In mruby 2.1.0, there is a stack-based buffer overflow in mrbstrlentodbl in string.c...

9.8CVSS7.3AI score0.01355EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/09 12:00 a.m.•32 views

Publify vulnerable to DoS attack

Publify before 8.0.2 is vulnerable to a Denial of Service attack...

7.5CVSS6.8AI score0.01083EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/12/26 12:00 a.m.•68 views

Prototype Pollution in handlebars

The bootstrap-wysihtml5-rails gem includes the vendored JavaScript library 'handlebars.js'. Versions 0.3.3.7-0.3.3.8 include handlebars 3.0.2, and versions 0.3.3.5-0.3.3.6 include handlebars 1.3.0. Versions Affected: 0.3.3.5-0.3.3.8 Not affected: 0.3.3.5 Fixed Versions: None Versions of handlebar...

9.8CVSS7.7AI score0.07066EPSS
SaveExploits0References1
RubySec
RubySec
•added 2019/12/18 12:00 a.m.•31 views

Possible information leak / session hijack vulnerability

There's a possible information leak / session hijack vulnerability in Rack. Attackers may be able to find and hijack sessions by using timing attacks targeting the session id. Session ids are usually stored and indexed in a database that uses some kind of scheme for speeding up lookups of that...

6.3CVSS6.4AI score0.03703EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/12/16 12:00 a.m.•27 views

Race condition when using persistent connections

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 previous response. The race condition window appears to be short, and it...

5.9CVSS6.7AI score0.01439EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/12/05 12:00 a.m.•43 views

Keepalive thread overload/DoS in puma

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 connections will wait permanently if the attacker sends requests frequently enough...

7.5CVSS6.6AI score0.02014EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/11/26 12:00 a.m.•22 views

Private Ruby OpenSSL RSA key generation is always "1"

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

9.8CVSS6.9AI score0.02529EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/11/15 12:00 a.m.•22 views

rack-cors directory traversal via path

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

5.3CVSS4.6AI score0.02462EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/11/14 12:00 a.m.•25 views

json-jwt improper input validation due to lack of element count when splitting string

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

7.5CVSS2.1AI score0.01257EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/11/09 12:00 a.m.•22 views

Prototype Pollution in Chartkick.js 3.1.x

A specially crafted response in data loaded via URL can cause prototype pollution in JavaScript...

7.5CVSS2.4AI score0.01391EPSS
SaveExploits0References1Affected Software1
Total number of security vulnerabilities1292