Lucene search
+L
RubygemsMost viewed

1300 matches found

RubySec
RubySec
•added 2014/06/30 12:00 a.m.•27 views

VladTheEnterprising Gem for Ruby /tmp/my.cnf.#{target_host} Symlink Multiple Impact

VladTheEnterprising Gem for Ruby contains a flaw as the program creates temporary files insecurely. It is possible for a local attacker to use a symlink attack against the /tmp/my.cnf.targethost file they can overwrite arbitrary files, gain access to the MySQL root password, or inject arbitrary...

5.5CVSS2.6AI score0.00431EPSS
SaveExploits0References1
RubySec
RubySec
•added 2014/03/10 12:00 a.m.•27 views

Arabic Prawn Gem for Ruby lib/string_utf_support.rb User Input Handling Remote Command Injection

Arabic Prawn Gem for Ruby contains a flaw in the lib/stringutfsupport.rb file. The issue is due to the program failing to sanitize user input. This may allow a remote attacker to inject arbitrary commands. "lib/stringutfsupport.rb" in the Arabic Prawn 0.0.1 gem for Ruby allows remote attackers to...

7.5CVSS7.6AI score0.02188EPSS
SaveExploits3References1
RubySec
RubySec
•added 2013/05/14 12:00 a.m.•27 views

Creme Fraiche Gem for Ruby File Name Shell Metacharacter Injection Arbitrary Command Execution

Creme Fraiche Gem for Ruby contains a flaw that is due to the program failing to properly sanitize input in file names. With a specially crafted file name that contains shell metacharacters, a context-dependent attacker can execute arbitrary commands...

9.3CVSS5.2AI score0.04247EPSS
SaveExploits2References1Affected Software1
RubySec
RubySec
•added 2013/02/21 12:00 a.m.•27 views

Spree promotions_controller.rb calculator_type Parameter Arbitrary Ruby Object Instantiation Command Execution

Spree contains a flaw that is triggered when handling input passed via the 'calculatortype' parameter to promotionscontroller.rb. This may allow a remote authenticated attacker to instantiate arbitrary Ruby objects and potentially execute arbitrary commands...

5.1AI score0.01531EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2026/07/13 12:00 a.m.•26 views

Decidim - Push subscriptions can be abused for server-side requests

Description The push-subscription endpoint stores an attacker-controlled delivery URL, and the notification send path becomes an outbound-request sink when VAPID delivery is enabled. The practical result is an authenticated, stored, mostly blind SSRF primitive to arbitrary HTTPS endpoints reachab...

6.4CVSS6AI score0.0026EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/06/19 12:00 a.m.•26 views

Oj - Use-After-Free in Oj::Doc Iterators via Reentrant Close

Summary Oj::Doc iterators eachvalue, eachchild, eachleaf are vulnerable to a heap use-after-free. When a Ruby block yielded during iteration calls doc.close or d.close, the document's heap memory is freed while the C iterator is still running. When control returns from the block, the iterator rea...

2.1CVSS6.2AI score0.00146EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/06/19 12:00 a.m.•26 views

Oj - Integer Overflow in Oj.load 2GB String Handling

Summary Oj.load is vulnerable to heap corruption when parsing a JSON string longer than 2 GB. An integer overflow in bufappendstring buf.h:61 converts the string length to a large negative sizet, causing memcpy to copy an astronomically large amount of data out of bounds. This crashes the process...

6.3CVSS6.4AI score0.00333EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/06/09 12:00 a.m.•26 views

Net::IMAP: Command Injection via ID command argument

Summary Two Net::IMAP commands, id and enable, do not validate their arguments. Arguments to either command could be used by an attacker to inject arbitrary IMAP commands. Please note that passing untrusted inputs to these commands is usually inappropriate and expected to be uncommon. Details Whe...

5.8CVSS6AI score0.00184EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/04/02 12:00 a.m.•26 views

Rack::Static prefix matching can expose unintended files under the static root

Summary Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes such as "/css", it matches any request path that begins with that string, including unrelated paths such as "/css-config.env" or...

7.5CVSS7.2AI score0.00517EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/04/02 12:00 a.m.•26 views

Rack::Request accepts invalid Host characters, enabling host allowlist bypass

Summary Rack::Request parses the Host header using an AUTHORITY regular expression that accepts characters not permitted in RFC-compliant hostnames, including /, ?, , and @. Because req.host returns the full parsed value, applications that validate hosts using naive prefix or suffix checks can be...

6.5CVSS6.2AI score0.00278EPSS
SaveExploits2References1Affected Software1
RubySec
RubySec
•added 2026/04/02 12:00 a.m.•26 views

Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header

Summary Rack::Utils.selectbestencoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted...

7.5CVSS6.3AI score0.01996EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/03/23 12:00 a.m.•26 views

Rails Active Support has a possible DoS vulnerability in its number helpers

Impact Active Support number helpers accept strings containing scientific notation e.g. 1e10000, which when converted to a string could be expanded into extremely large decimal representations. This can cause excessive memory allocation and CPU consumption when the expanded number is formatted,...

8.7CVSS6.3AI score0.00843EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/03/19 12:00 a.m.•26 views

bcrypt-ruby has an Integer Overflow that Causes Zero Key-Strengthening Iterations at Cost=31 on JRuby

Impact An integer overflow in the Java BCrypt implementation for JRuby can cause zero iterations in the strengthening loop. Impacted applications must be setting the cost to 31 to see this happen. The JRuby implementation of bcrypt-ruby BCrypt.java computes the key-strengthening round count as a...

7.5CVSS5.9AI score0.00261EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2026/02/09 12:00 a.m.•26 views

Faraday affected by SSRF via protocol-relative URL host override in build_exclusive_url

Impact Faraday's buildexclusiveurl method in lib/faraday/connection.rb uses Ruby's URImerge to combine the connection's base URL with a user-supplied path. Per RFC 3986, protocol-relative URLs e.g. //evil.com/path are treated as network-path references that override the base URL's host/authority...

5.8CVSS6.1AI score0.00446EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/11/19 12:00 a.m.•26 views

null pointer dereference vulnerability in mrubyc 3.4

A security vulnerability has been detected in mrubyc up to 3.4. This impacts the function mrbcrawrealloc of the file src/alloc.c. Such manipulation of the argument ptr leads to null pointer dereference. An attack has to be approached locally...

5.5CVSS5.1AI score0.00143EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/08/29 12:00 a.m.•26 views

Google Sign-In for Rails allowed redirect to protocol-relative URI

Summary It is possible to redirect a user to another origin if the "proceedto" value in the session store is set to a protocol-relative URL. Details The googlesignin gem persists an optional URL for redirection after authentication. If this URL is set to a protocol-relative URL, it improperly...

4.2CVSS6.6AI score0.00226EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/08/27 12:00 a.m.•26 views

Google Sign-In for Rails allowed redirects to malformed URLs

Summary It is possible to craft a malformed URL that passes the "same origin" check, resulting in the user being redirected to another origin. Details The googlesignin gem persists an optional URL for redirection after authentication. If this URL is malformed, it's possible for the user to be...

4.2CVSS6.8AI score0.0024EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/06/26 12:00 a.m.•26 views

Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling

Ruby WEBrick readheader HTTP Request Smuggling Vulnerability This vulnerability allows remote attackers to smuggle arbitrary HTTP requests on affected installations of Ruby WEBrick. This issue is exploitable when the product is deployed behind an HTTP proxy that fulfills specific conditions. The...

6.5CVSS7AI score0.00495EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/05/21 12:00 a.m.•26 views

Insufficient input sanitization in ejson2env

Summary The ejson2env tool has a vulnerability related to how it writes to stdout. Specifically, the tool is intended to write an export statement for environment variables and their values. However, due to inadequate output sanitization, there is a potential risk where variable names or values m...

6.6CVSS7.8AI score0.01317EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2025/05/08 12:00 a.m.•26 views

Rack session gets restored after deletion

Summary When using the Rack::Session::Pool middleware, simultaneous rack requests can restore a deleted rack session, which allows the unauthenticated user to occupy that session. Details Rack session middleware prepares the session at the beginning of request, then saves is back to the store wit...

4.2CVSS6.7AI score0.00332EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2024/10/02 12:00 a.m.•26 views

OpenC3 Path Traversal via screen controller (`GHSL-2024-127`)

Summary A path traversal vulnerability inside of LocalMode's openlocalfile method allows an authenticated user with adequate permissions to download any .txt via the ScreensControllershow on the web server COSMOS is running on depending on the file permissions. Note: This CVE affects all OpenC3...

6.5CVSS6.4AI score0.00912EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2024/03/18 12:00 a.m.•26 views

ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.

The Ruby One Time Password library ROTP is an open source library for generating and validating one time passwords. Affected versions had overly permissive default permissions. Users should patch to version 6.3.0. Users unable to patch may correct file permissions after installation...

5.5CVSS7.1AI score0.00176EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2024/03/15 12:00 a.m.•26 views

TurboBoost Commands vulnerable to arbitrary method invocation

Impact TurboBoost Commands has existing protections in place to guarantee that only public methods on Command classes can be invoked; however, the existing checks aren't as robust as they should be. It's possible for a sophisticated attacker to invoke more methods than should be permitted dependi...

8.1CVSS7.5AI score0.00796EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2024/02/20 12:00 a.m.•26 views

Race condition in Endorsements

Impact A race condition in the endorsement of resources for instance, a proposal allows a user to make more than once endorsement. To exploit this vulnerability, the request to set an endorsement must be sent several times in parallel. Workarounds Disable the Endorsement feature in the components...

3.1CVSS6.9AI score0.00444EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2023/10/05 12:00 a.m.•26 views

Decidim has broken access control in templates

Impact The templates module doesn't enforce the correct permissions, allowing any logged-in user to access to this functionality in the administration panel. An attacker could use this vulnerability to change, create or delete templates of surveys...

9.1CVSS6.8AI score0.00674EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2023/07/06 12:00 a.m.•26 views

Sanitize vulnerable to Cross-site Scripting via insufficient neutralization of `style` element content

Impact Using carefully crafted input, an attacker may be able to sneak arbitrary HTML and CSS through Sanitize = 3.0.0, = 6.0.2 performs additional escaping of CSS in style element content, which fixes this issue. Workarounds Users who are unable to upgrade can prevent this issue by using a...

7.1CVSS6AI score0.00712EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2023/04/21 12:00 a.m.•26 views

sidekiq vulnerable to cross-site scripting

sidekiq from 7.0.4 to 7.0.7 is vulnerable to reflected cross-site scripting. A fix was released in version 7.0.8...

9.6CVSS6.9AI score0.02742EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2023/01/28 12:00 a.m.•26 views

Improper neutralization of `noscript` element content may allow XSS in Sanitize

Impact Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize = 5.0.0, = 6.0.1 always removes noscript elements and their contents, even when noscript is in the allowlist. Workarounds Users who are unable to upgrade can prevent this issue by using one of...

6.1CVSS5.9AI score0.00525EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2023/01/03 12:00 a.m.•26 views

httparty has multipart/form-data request tampering vulnerability

HTTP multipart/form-data request tampering vulnerability in httparty 0.20.0, due to lack of proper escaping of double quotes within the filename attribute of the Content-Disposition header. If the Content-Disposition header is set to "form-data" and contains the "filename" attribute, and the...

5.3CVSS6.9AI score0.0129EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2022/12/13 12:00 a.m.•27 views

Improper neutralization of data URIs may allow XSS in rails-html-sanitizer

Summary rails-html-sanitizer = 1.0.3, = 2.1.0. Mitigation Upgrade to rails-html-sanitizer = 1.4.4...

6.1CVSS2.7AI score0.00892EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2022/09/28 12:00 a.m.•26 views

Exploitable heap overflow vulnerability exists in Ruby's Psych::Emitter start_document function

An exploitable heap overflow vulnerability exists in the Psych::Emitter startdocument function of Ruby. In Psych::Emitter startdocument 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...

9.8CVSS7.4AI score0.04682EPSS
SaveExploits3References1Affected Software1
RubySec
RubySec
•added 2022/08/11 12:00 a.m.•26 views

update_by_case before 0.1.3 can be vulnerable to sql injection

Before version 0.1.3 updatebycase gem used custom sql strings, and it was not sanitized, making it vulnerable to sql injection. Upgrade to version = 0.1.3 that uses Arel instead to construct the resulting sql statement, with sanitized sql...

9.8CVSS3AI score0.0063EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2022/06/15 12:00 a.m.•26 views

Octokit gem published with world-writable files

Impact Versions 4.23.0 and 4.24.0 of the octokit gem were published containing world-writeable files. Specifically, the gem was packed with files having their permissions set to -rw-rw-rw- i.e. 0666 instead of rw-r--r-- i.e. 0644. This means everyone who is not the owner Group and Public with...

3.3CVSS2.1AI score0.00251EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2022/05/24 12:00 a.m.•26 views

Fat Free CRM Cross-site Scripting vulnerability

HTML Injection has been discovered in the v0.19.0 version of the Fat Free CRM product via an authenticated request to the /comments URI...

5.4CVSS2.3AI score0.04702EPSS
SaveExploits4References1
RubySec
RubySec
•added 2022/05/24 12:00 a.m.•26 views

Camaleon CMS vulnerable to Server-Side Request Forgery

In Camaleon CMS, versions 2.1.2.0 through 2.6.0, are vulnerable to Server-Side Request Forgery SSRF in the media upload feature, which allows admin users to fetch media files from external URLs but fails to validate URLs referencing to localhost or other internal servers. This allows attackers to...

4.9CVSS4.4AI score0.00986EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2022/05/17 12:00 a.m.•26 views

Article metadata exposure in publify

Leaking password protected articles content due to improper access control in GitHub repository publify/publify prior to 9.2.8. Attackers can leverage this vulnerability to view the contents of any password-protected article present on the publify website, compromising confidentiality and integri...

8.8CVSS4.4AI score0.01246EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2022/03/27 12:00 a.m.•26 views

Use after free in mrb_vm_exec in mruby/mruby

Use after free in mrbvmexec in GitHub repository mruby/mruby prior to 3.2...

9.1CVSS7.4AI score0.00971EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2022/03/10 12:00 a.m.•26 views

NULL Pointer Dereference in mruby/mruby

NULL Pointer Dereference in GitHub repository mruby/mruby prior to 3.2...

7.1CVSS6.9AI score0.00827EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2022/02/19 12:00 a.m.•26 views

Out-of-bounds Read in mruby/mruby

Out-of-bounds Read in Homebrew mruby prior to 3.2...

7.1CVSS6.8AI score0.00987EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2021/12/17 12:00 a.m.•26 views

Path traversal when MessageBus::Diagnostics is enabled

Impact Users who deployed message bus with diagnostics features enabled default off were vulnerable to a path traversal bug, which could lead to disclosure of secret information on a machine if an unintended user were to gain access to the diagnostic route. The impact is also greater if there is ...

6.5CVSS7AI score0.01885EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2021/05/24 12:00 a.m.•26 views

Improper Certificate Validation in EM-HTTP-Request

EM-HTTP-Request 1.1.5 uses the library eventmachine in an insecure way that allows an attacker to perform a man-in-the-middle attack against users of the library. The hostname in a TLS server certificate is not verified...

7.4CVSS5AI score0.00905EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2020/01/23 12:00 a.m.•26 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.01209EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2019/11/26 12:00 a.m.•26 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/09/27 12:00 a.m.•26 views

simple_form Gem for Ruby Incorrect Access Control for forms based on user input

Simple Form before 5.0 has Incorrect Access Control in filemethod? in lib/simpleform/formbuilder.rb, because a user-supplied string is invoked as a method call. This only happens for pages that build forms based on user input...

9.8CVSS1.4AI score0.034EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2019/08/20 12:00 a.m.•26 views

Code execution backdoor in coming-soon

The coming-soon gem 0.2.8 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. No unaffected version is known to exist, as the gem appears to have been entirely removed...

9.8CVSS5.4AI score0.0355EPSS
SaveExploits0References1
RubySec
RubySec
•added 2019/07/31 12:00 a.m.•26 views

Code execution backdoor in datagrid

The datagrid gem 1.0.6 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party...

9.8CVSS2.5AI score0.03115EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2019/03/05 12:00 a.m.•26 views

Delete directory using symlink when decompressing tar

A Directory Traversal issue was discovered in RubyGems 2.7.6 and later through 3.0.2. Before making new directories or touching files which now include path-checking code for symlinks, it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could...

8.8CVSS1AI score0.04193EPSS
SaveExploits1References1Affected Software1
RubySec
RubySec
•added 2019/03/05 12:00 a.m.•26 views

Escape sequence injection vulnerability in gem owner

An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur...

7.5CVSS1.1AI score0.03281EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2018/10/17 12:00 a.m.•26 views

Incorrect value comparison in Ruby openssl

An issue was discovered in the OpenSSL library in Ruby when two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one...

9.8CVSS6.7AI score0.10715EPSS
SaveExploits0References1Affected Software1
RubySec
RubySec
•added 2017/10/24 12:00 a.m.•26 views

RedCloth Cross-site Scripting vulnerability

Cross-site scripting XSS vulnerability in the RedCloth library 4.2.9 for Ruby and earlier allows remote attackers to inject arbitrary web script or HTML via a "javascript:" URI...

5.9AI score0.02253EPSS
SaveExploits1References1Affected Software1
Total number of security vulnerabilities1300