Lucene search
+L
RubygemsRecent

1278 matches found

RubySec
RubySec
•added 2021/04/05 12:0 a.m.•26 views

XML round-trip vulnerability in REXML

When parsing and serializing a crafted XML document, REXML gem including the one bundled with Ruby can create a wrong XML document whose structure is different from the original one...

7.5CVSS6.8AI score0.05061EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/03/29 12:0 a.m.•13 views

Improper Certificate Validation in twitter-stream

In voloko twitter-stream 0.1.16, missing TLS hostname validation allows an attacker to perform a man-in-the-middle attack against users of the library because eventmachine is misused...

5.9CVSS4.7AI score0.00884EPSS
SaveExploits1References1
RubySec
RubySec
•added 2021/03/29 12:0 a.m.•16 views

Remote code execution in Kramdown

Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated...

9.8CVSS6.7AI score0.02805EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2021/03/08 12:0 a.m.•57 views

activerecord-session_store Timing Attack

The activerecord-sessionstore aka Active Record Session Store component through 1.1.3 for Ruby on Rails does not use a constant-time approach when delivering information about whether a guessed session ID is valid. Consequently, remote attackers can leverage timing discrepancies to achieve a...

6.3CVSS3.1AI score0.03703EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/02/10 12:0 a.m.•35 views

Possible DoS Vulnerability in Active Record PostgreSQL adapter

There is a possible DoS vulnerability in the PostgreSQL adapter in Active Record. This vulnerability has been assigned the CVE identifier CVE-2021-22880. Versions Affected: = 4.2.0 Not affected: 4.2.0 Fixed Versions: 6.1.2.1, 6.0.3.5, 5.2.4.5 Impact ------ Carefully crafted input can cause the...

7.5CVSS3AI score0.04434EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2021/02/10 12:0 a.m.•42 views

Possible Open Redirect in Host Authorization Middleware

There is a possible open redirect vulnerability in the Host Authorization middleware in Action Pack. This vulnerability has been assigned the CVE identifier CVE-2021-22881. Versions Affected: = 6.0.0 Not affected: a-z0-9.-+|\a-f0-9:a-f0-9.:+\ :\d+? \z /x originhost = validhost.match...

6.1CVSS3.6AI score0.87301EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2021/02/08 12:0 a.m.•34 views

Code Injection vulnerability in CarrierWave::RMagick

Impact CarrierWave::RMagick has a Code Injection vulnerability. Its manipulate! method inappropriately evals the content of mutation option:read/:write, allowing attackers to craft a string that can be executed as a Ruby code. If an application developer supplies untrusted inputs to the option, i...

8.8CVSS7.6AI score0.12678EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2021/02/08 12:0 a.m.•20 views

Server-side request forgery in CarrierWave

Impact CarrierWave download feature or 1.3.2. Workarounds Using proper network segmentation and applying the principle of least privilege to outbound connections from application servers can reduce the severity of SSRF vulnerabilities. Ideally the vulnerable gem should run on an isolated server...

4.3CVSS6.8AI score0.01173EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/02/01 12:0 a.m.•24 views

Mechanize ruby gem Command Injection vulnerability

Impact Mechanize = v2.0, v2.7.7 allows for OS commands to be injected using several classes' methods which implicitly use Ruby's Kernel.open method. Exploitation is possible only if untrusted input is used as a local filename and passed to any of these calls: Mechanize::CookieJarload: since v2.0...

8.3CVSS6.9AI score0.03507EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/01/26 12:0 a.m.•9 views

Regular expression Denial of Service in dialog plugin

Affected packages The vulnerability has been discovered and fixed in the dialog plugin. Packages indirectly affected by the issue having dialog plugin dependency: - Link - Image - Enhanced Image - Code Snippet - Iframe Dialog Impact A potential vulnerability has been discovered in CKEditor 4 dial...

6.5CVSS6.9AI score0.01962EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/01/11 12:0 a.m.•28 views

Injection/XSS in Redcarpet

Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the :escapehtml opti...

6.8CVSS2.5AI score0.0157EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/12/30 12:0 a.m.•27 views

Nokogiri::XML::Schema trusts input by default, exposing risk of an XXE vulnerability

Description In Nokogiri versions = 1.11.0.rc3, XML Schemas parsed by Nokogiri::XML::Schema are trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. This behavior is counter to the security policy followed by Nokogiri maintainer...

4.3CVSS6.9AI score0.01118EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/12/08 12:0 a.m.•29 views

omniauth-apple allows attacker to fake their email address during authentication

Impact This vulnerability impacts applications using the omniauth-apple strategy of OmniAuth and using the info.email field of OmniAuth's Auth Hash Schema for any kind of identification. The value of this field may be set to any value of the attacker's choice including email addresses of other...

7.7CVSS7AI score0.01322EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/11/13 12:0 a.m.•23 views

Remote code execution in dependabot-core branch names when cloning

Impact Remote code execution vulnerability in dependabot-common and dependabot-gomodules when a source branch name contains malicious injectable bash code. For example, if Dependabot is configured to use the following source branch name: "/$curl,127.0.0.1", Dependabot will make a HTTP request to...

8.8CVSS7.6AI score0.03062EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/11/13 12:0 a.m.•31 views

Authorization bypass in Spree

Impact The perpetrator could query the API v2 Order Status https://guides.spreecommerce.org/api/v2/storefronttag/Order-Status endpoint with an empty string passed as an Order token Patches Please upgrade to 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree 3.7 are not...

7.7CVSS6.7AI score0.01124EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/11/13 12:0 a.m.•78 views

Remote code execution in dependabot-core branch names when cloning

Impact Remote code execution vulnerability in dependabot-common and dependabot-gomodules when a source branch name contains malicious injectable bash code. For example, if Dependabot is configured to use the following source branch name: "/$curl,127.0.0.1", Dependabot will make a HTTP request to...

8.8CVSS7.6AI score0.03062EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/11/03 12:0 a.m.•21 views

Regression in JWT Signature Validation

Overview Versions after and including 2.3.0 are improperly validating the JWT token signature when using the JWTValidator.verify method. Improper validation of the JWT token signature when not using the default Authorization Code Flow can allow an attacker to bypass authentication and...

9.1CVSS7AI score0.00803EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/10/20 12:0 a.m.•23 views

HTTP Request Smuggling in Agoo

agoo through 2.12.3 allows request smuggling attacks where agoo is used as a backend and a frontend proxy also being vulnerable. It is possible to conduct HTTP request smuggling attacks by sending the Content-Length header twice. Furthermore, invalid Transfer Encoding headers were found to be...

7.5CVSS1.9AI score0.0117EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/10/20 12:0 a.m.•57 views

Ensure that doorkeeper_token is valid when authenticating requests in API v2 calls

Impact The perpetrator who previously obtained an old expired user token could use it to access Storefront API v2 endpoints. Patches Please upgrade to 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version...

9.1CVSS2.7AI score0.01064EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/10/07 12:0 a.m.•25 views

Possible XSS Vulnerability in Action Pack in Development Mode

There is a possible XSS vulnerability in Action Pack while the application server is in development mode. This vulnerability is in the Actionable Exceptions middleware. This vulnerability has been assigned the CVE identifier CVE-2020-8264. Versions Affected: = 6.0.0 Not affected: 6.0.0 Fixed...

6.1CVSS4.8AI score0.70717EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/10/05 12:0 a.m.•64 views

Possible timing attack in derivation_endpoint

Impact When using the derivationendpoint plugin, it's possible for the attacker to use a timing attack to guess the signature of the derivation URL. Patches The problem has been fixed by comparing sent and calculated signature in constant time, using Rack::Utils.securecompare. Users using the...

5.9CVSS6.6AI score0.01007EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/09/30 12:0 a.m.•37 views

Dependency Confusion in Bundler with Implicit Private Dependencies

Bundler 1.16.0 through 2.2.9 and 2.2.11 through 2.2.17 sometimes chooses a dependency source based on the highest gem version number, which means that a rogue gem found at a public source may be chosen, even if the intended choice was a private gem that is a dependency of another private gem that...

9.3CVSS1.7AI score0.06307EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/09/29 12:0 a.m.•42 views

Potential HTTP Request Smuggling Vulnerability in WEBrick

WEBrick was too tolerant against an invalid Transfer-Encoding header. This may lead to inconsistent interpretation between WEBrick and some HTTP proxy servers, which may allow the attacker to "smuggle" a request. See CWE-444 in detail...

7.5CVSS3.1AI score0.03849EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/09/18 12:0 a.m.•23 views

Gon gem lack of escaping certain input when outputting as JSON

An issue was discovered in the gon gem before gon-6.4.0 for Ruby. MultiJson does not honor the escapemode parameter to escape fields as an XSS protection mechanism. To mitigate, jsondumper.rb in gon now does escaping for XSS by default without relying on MultiJson...

6.1CVSS0.8AI score0.01376EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/09/09 12:0 a.m.•48 views

Potential XSS vulnerability in Action View

There is a potential Cross-Site Scripting XSS vulnerability in Action View's translation helpers. Views that allow the user to control the default not found value of the t and translate helpers could be susceptible to XSS attacks. Impact ------ When an HTML-unsafe string is passed as the default...

6.1CVSS1.8AI score0.02372EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/09/01 12:0 a.m.•33 views

Cross-Site Scripting in jquery

Affected versions of jquery are vulnerable to cross-site scripting. This occurs because the main jquery function uses a regular expression to differentiate between HTML and selectors, but does not properly anchor the regular expression. The result is that jquery may interpret HTML as selectors wh...

6.1CVSS6.6AI score0.08632EPSS
SaveExploits6References1Affected Software1
RubySec
RubySec
•added 2020/08/04 12:0 a.m.•29 views

Ability to change order address without triggering address validations in solidus

Impact This vulnerability allows a malicious customer to craft request data with parameters that allow changing the address of the current order without changing the shipment costs associated with the new shipment. All stores with at least two shipping zones and different costs of shipment per zo...

5.3CVSS0.00896EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/08/04 12:0 a.m.•24 views

Ability to change order address without triggering address validations in solidus

Impact This vulnerability allows a malicious customer to craft request data with parameters that allow changing the address of the current order without changing the shipment costs associated with the new shipment. All stores with at least two shipping zones and different costs of shipment per zo...

5.3CVSS0.00896EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/08/04 12:0 a.m.•75 views

CSRF Vulnerability with Non-Session Based Authentication

The Field Test dashboard is vulnerable to CSRF with non-session based authentication methods. Impact The Field Test dashboard is vulnerable to CSRF with non-session based authentication methods, like basic authentication. Session-based authentication methods like Devise's default authentication a...

4.3CVSS2.3AI score0.00426EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/08/04 12:0 a.m.•33 views

CSS injection with width and height options

Chartkick is vulnerable to CSS injection if user input is passed to the width or height option. An attacker can set additional CSS properties, like:...

6.1CVSS1.3AI score0.00758EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/08/04 12:0 a.m.•21 views

CSRF Vulnerability with Non-Session Based Authentication

The PgHero dashboard is vulnerable to CSRF with non-session based authentication methods. Impact The PgHero dashboard is vulnerable to cross-site request forgery CSRF. This affects the Docker image, Linux packages, and in specific cases, the Ruby gem. The Ruby gem is vulnerable with non-session...

8.1CVSS2.8AI score0.00465EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/07/31 12:0 a.m.•22 views

Missing TLS certificate verification in faye-websocket

The Faye::WebSocket::Client class uses the EM::Connectionstarttls1 method in EventMachine2 to implement the TLS handshake whenever a wss: URL is used for the connection. This method does not implement certificate verification by default, meaning that it does not check that the server presents a...

8.7CVSS6.6AI score0.00914EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/07/31 12:0 a.m.•32 views

Missing TLS certificate verification

Faye uses em-http-request6 and faye-websocket10 in the Ruby version of its client. Those libraries both use the EM::Connectionstarttls1 method in EventMachine2 to implement the TLS handshake whenever a wss: URL is used for the connection. This method does not implement certificate verification by...

8.7CVSS6.6AI score0.00864EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/07/21 12:0 a.m.•17 views

Heap buffer overflow in mruby interpreter

muby through 2.1.2-rc has a heap-based buffer overflow in the mrbyieldwithclass function in vm.c because of incorrect VM stack handling. It can be triggered via the stackcopy function...

9.8CVSS7.2AI score0.02087EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/07/15 12:0 a.m.•8 views

Prototype Pollution in lodash

Versions of lodash prior to 4.17.19 are vulnerable to Prototype Pollution. The functions pick, set, setWith, update, updateWith, and zipObjectDeep allow a malicious user to modify the prototype of Object if the property identifiers are user-supplied. Being affected by this issue requires...

7.4CVSS7.5AI score0.05213EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/06/28 12:0 a.m.•31 views

Unintended read access in kramdown gem

The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access such as template="/etc/passwd" or unintended embedded Ruby code execution such as a string that begins with template="string://%= . NOTE: kramdown is used...

9.8CVSS2.6AI score0.0456EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2020/06/17 12:0 a.m.•40 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:0 a.m.•19 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:0 a.m.•75 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:0 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:0 a.m.•42 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:0 a.m.•45 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:0 a.m.•42 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:0 a.m.•27 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:0 a.m.•39 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:0 a.m.•165 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:0 a.m.•38 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:0 a.m.•30 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:0 a.m.•32 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:0 a.m.•29 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
Total number of security vulnerabilities1278