Skip to content

← Public intelligence

RubyGems package

activesupport

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

16 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.6RubyGemsPublished

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

    CVE-2026-33176 · GHSA-2j26-frm8-cmj9

    Affected
    • RubyGems activesupport >= 8.1.0.beta1, < 8.1.2.1; >= 8.0.0.beta1, < 8.0.4.1; < 7.2.3.1
    Fixed in
    7.2.3.18.1.2.18.0.4.1· Vendor fix available
    Issue
    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, possibly resulting in a DoS vulnerability. Releases The fixed releases are available at the normal locations. Credit This issue was responsibly reported by Hackerone researcher manun.

    Recommended action: Upgrade to 8.1.2.1, 8.0.4.1 or 7.2.3.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.3RubyGemsPublished

    Rails Active Support has a possible XSS vulnerability in SafeBuffer#%

    CVE-2026-33170 · GHSA-89vf-4333-qx8v

    Affected
    • RubyGems activesupport >= 8.1.0.beta1, < 8.1.2.1; >= 8.0.0.beta1, < 8.0.4.1; < 7.2.3.1
    Fixed in
    7.2.3.18.1.2.18.0.4.1· Vendor fix available
    Issue
    Impact SafeBuffer#% does not propagate the @htmlunsafe flag to the newly created buffer. If a SafeBuffer is mutated in place (e.g. via gsub!) and then formatted with % using untrusted arguments, the result incorrectly reports htmlsafe? == true, bypassing ERB auto-escaping and possibly leading to XSS. Releases The fixed releases are available at the normal locations. Credit This issue was responsibly reported by @ch4n3-yoon

    Recommended action: Upgrade to 8.1.2.1, 8.0.4.1 or 7.2.3.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 6.9RubyGemsPublished

    Rails Active Support has a possible ReDoS vulnerability in number_to_delimited

    CVE-2026-33169 · GHSA-cg4j-q9v8-6v38

    Affected
    • RubyGems activesupport >= 8.1.0.beta1, < 8.1.2.1; >= 8.0.0.beta1, < 8.0.4.1; < 7.2.3.1
    Fixed in
    7.2.3.18.1.2.18.0.4.1· Vendor fix available
    Issue
    Impact NumberToDelimitedConverter used a regular expression with gsub! to insert thousands delimiters. This could produce quadratic time complexity on long digit strings. Releases The fixed releases are available at the normal locations. Credit This issue was responsibly reported by Hackerone researcher scyoon.

    Recommended action: Upgrade to 8.1.2.1, 8.0.4.1 or 7.2.3.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.5RubyGemsPublished

    Active Support Possibly Discloses Locally Encrypted Files

    CVE-2023-38037 · GHSA-cr5q-6q9f-rq6q

    Affected
    • RubyGems activesupport >= 5.2.0, < 6.1.7.5; >= 7.0.0, < 7.0.7.1
    Fixed in
    6.1.7.57.0.7.1· Vendor fix available
    Issue
    There is a possible file disclosure of locally encrypted files in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-38037. Versions Affected: = 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.7.1, 6.1.7.5 Impact ActiveSupport::EncryptedFile writes contents that will be encrypted to a temporary file. The temporary file’s permissions are defaulted to the user’s current umask settings, meaning that it’s possible for other users on the same system to read the contents of the temporary file. Attackers that have access to the file system could possibly read the contents of this temporary file while a user is editing it. All users running an affected release should either upgrade or use one of the workarounds immediately. Releases The fixed releases are available at the normal locations. Workarounds To work around this issue, you can set your umask to be more restrictive like this:

    Recommended action: Upgrade to 7.0.7.1 or 6.1.7.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 5.3RubyGemsPublished

    Possible XSS Security Vulnerability in SafeBuffer#bytesplice

    CVE-2023-28120 · GHSA-pj73-v5mw-pm9j

    Affected
    • RubyGems activesupport >= 7.0.0, < 7.0.4.3; < 6.1.7.3
    Fixed in
    6.1.7.37.0.4.3· Vendor fix available
    Issue
    There is a vulnerability in ActiveSupport if the new bytesplice method is called on a SafeBuffer with untrusted user input. This vulnerability has been assigned the CVE identifier CVE-2023-28120. Versions Affected: All. Not affected: None Fixed Versions: 7.0.4.3, 6.1.7.3 Impact ActiveSupport uses the SafeBuffer string subclass to tag strings as htmlsafe after they have been sanitized. When these strings are mutated, the tag is should be removed to mark them as no longer being htmlsafe. Ruby 3.2 introduced a new bytesplice method which ActiveSupport did not yet understand to be a mutation. Users on older versions of Ruby are likely unaffected. All users running an affected release and using bytesplice should either upgrade or use one of the workarounds immediately. Workarounds Avoid calling bytesplice on a SafeBuffer (htmlsafe) string with untrusted user input.

    Recommended action: Upgrade to 7.0.4.3 or 6.1.7.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. UnratedRubyGemsPublished

    ReDoS based DoS vulnerability in Active Support's underscore

    CVE-2023-22796 · GHSA-j6gc-792m-qgm2

    Affected
    • RubyGems activesupport >= 7.0.0, < 7.0.4.1; < 6.1.7.1
    Fixed in
    6.1.7.17.0.4.1· Vendor fix available
    Issue
    There is a possible regular expression based DoS vulnerability in Active Support. This vulnerability has been assigned the CVE identifier CVE-2023-22796. Versions Affected: All Not affected: None Fixed Versions: 5.2.8.15 (Rails LTS, which is a paid service and not part of the rubygem), 6.1.7.1, 7.0.4.1 Impact A specially crafted string passed to the underscore method can cause the regular expression engine to enter a state of catastrophic backtracking. This can cause the process to use large amounts of CPU and memory, leading to a possible DoS vulnerability. This affects String#underscore, ActiveSupport::Inflector.underscore, String#titleize, and any other methods using these. All users running an affected release should either upgrade or use one of the workarounds immediately. Releases The FIXED releases are available at the normal locations. Workarounds There are no feasible workarounds for this issue. Users on Ruby 3.2.0 or greater may be able to reduce the impact by configuring…

    Recommended action: Upgrade to 7.0.4.1 or 6.1.7.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Critical, CVSS 9.8RubyGemsPublished

    ActiveSupport potentially unintended unmarshalling of user-provided objects in MemCacheStore and RedisCacheStore

    CVE-2020-8165 · GHSA-2p68-f74v-9wc6

    Affected
    • RubyGems activesupport >= 5.0.0, <= 5.2.4.2; >= 6.0.0, <= 6.0.3
    Fixed in
    6.0.3.15.2.4.3· Vendor fix available
    Issue
    In ActiveSupport, 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. Vulnerable code looks like: Versions Affected: rails < 5.2.5, rails < 6.0.4 Not affected: Applications not using MemCacheStore or RedisCacheStore. Applications that do not use the raw option when storing untrusted user input. Fixed Versions: rails = 5.2.4.3, rails = 6.0.3.1 Impact ------ Unmarshalling of untrusted user input can have impact up to and including RCE. At a minimum, this vulnerability allows an attacker to inject untrusted Ruby objects into a web application. In addition to upgrading to the latest versions of Rails, developers should ensure that whenever they are calling Rails.cache.fetch they are using consistent values of the raw parameter for both reading and writing,…

    Recommended action: Upgrade to 6.0.3.1 or 5.2.4.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. UnratedRubyGemsPublished

    activesupport Cross-site Scripting vulnerability

    CVE-2011-2932 · GHSA-9fh3-vh3h-q4g3

    Affected
    • RubyGems activesupport >= 2.0.0, < 2.3.13; >= 3.0.0, < 3.0.10
    Fixed in
    3.0.102.3.13· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in activesupport/lib/activesupport/coreext/string/outputsafety.rb in Ruby on Rails 2.x before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a malformed Unicode string, related to a "UTF-8 escaping vulnerability."

    Recommended action: Upgrade to 3.0.10 or 2.3.13 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. UnratedRubyGemsPublished

    activesupport Cross-site Scripting vulnerability

    CVE-2012-1098 · GHSA-qv8p-v9qw-wc7g

    Affected
    • RubyGems activesupport >= 3.0.0, < 3.0.12; >= 3.1.0, < 3.1.4; >= 3.2.0, < 3.2.2
    Fixed in
    3.2.23.0.123.1.4· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.

    Recommended action: Upgrade to 3.2.2, 3.1.4 or 3.0.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. UnratedRubyGemsPublished

    actionpack and activesupport vulnerable to information leaks

    CVE-2009-3086 · GHSA-fg9w-g6m4-557j

    Affected
    • RubyGems activesupport >= 2.3.0, < 2.3.4; >= 2.1.0, < 2.2.3
    Fixed in
    2.3.42.2.3· Vendor fix available
    Issue
    A certain algorithm in Ruby on Rails 2.1.0 through 2.2.2, and 2.3.x before 2.3.4, leaks information about the complexity of message-digest signature verification in the cookie store, which might allow remote attackers to forge a digest via multiple attempts.

    Recommended action: Upgrade to 2.3.4 or 2.2.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. UnratedRubyGemsPublished

    Cross site scripting that affects rails

    CVE-2009-3009 · GHSA-8qrh-h9m2-5fvf

    Affected
    • RubyGems activesupport >= 2.0.0, < 2.2.3; >= 2.3.0, < 2.3.4
    Fixed in
    2.3.42.2.3· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in Ruby on Rails 2.x before 2.2.3, and 2.3.x before 2.3.4, allows remote attackers to inject arbitrary web script or HTML by placing malformed Unicode strings into a form helper.

    Recommended action: Upgrade to 2.3.4 or 2.2.3 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. UnratedRubyGemsPublished

    activesupport Improper Input Validation vulnerability

    CVE-2013-1856 · GHSA-9c2j-593q-3g82

    Affected
    • RubyGems activesupport >= 3.0.0, < 3.1.12; >= 3.2.0, < 3.2.13
    Fixed in
    3.2.133.1.12· Vendor fix available
    Issue
    The ActiveSupport::XmlMiniJDOM backend in lib/activesupport/xmlmini/jdom.rb in the Active Support component in Ruby on Rails 3.0.x and 3.1.x before 3.1.12 and 3.2.x before 3.2.13, when JRuby is used, does not properly restrict the capabilities of the XML parser, which allows remote attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving (1) an external DTD or (2) an external entity declaration in conjunction with an entity reference.

    Recommended action: Upgrade to 3.2.13 or 3.1.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. UnratedRubyGemsPublished

    activesupport in Rails vulnerable to incorrect data conversion

    CVE-2013-0333 · GHSA-xgr2-v94m-rc9g

    Affected
    • RubyGems activesupport >= 2.3.2, < 2.3.16; >= 3.0.0, < 3.0.20
    Fixed in
    2.3.163.0.20· Vendor fix available
    Issue
    lib/activesupport/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.

    Recommended action: Upgrade to 3.0.20 or 2.3.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. UnratedRubyGemsPublished

    activesupport Cross-site Scripting vulnerability

    CVE-2012-3464 · GHSA-h835-75hw-pj89

    Affected
    • RubyGems activesupport >= 3.1.0, < 3.1.8; >= 3.2.0, < 3.2.8; >= 3.0.0.beta, < 3.0.17; < 2.3.16
    Fixed in
    2.3.163.0.173.1.83.2.8· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in activesupport/lib/activesupport/coreext/string/outputsafety.rb in Ruby on Rails before 2.3.16, 3.0.x before , 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.

    Recommended action: Upgrade to 3.2.8, 3.1.8, 3.0.17 or 2.3.16 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  15. UnratedRubyGemsPublished

    activesupport vulnerable to Denial of Service via large XML document depth

    CVE-2015-3227 · GHSA-j96r-xvjq-r9pg

    Affected
    • RubyGems activesupport >= 4.0.0.beta1, < 4.1.11; >= 4.2.0.beta1, < 4.2.2; < 3.2.22
    Fixed in
    3.2.224.2.24.1.11· Vendor fix available
    Issue
    The (1) jdom.rb and (2) rexml.rb components in Active Support in Ruby on Rails before 3.2.22, 4.1.x before 4.1.11, and 4.2.x before 4.2.2, when JDOM or REXML is enabled, allow remote attackers to cause a denial of service (SystemStackError) via a large XML document depth.

    Recommended action: Upgrade to 4.2.2, 4.1.11 or 3.2.22 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. UnratedRubyGemsPublished

    activesupport Cross-site Scripting vulnerability

    CVE-2015-3226 · GHSA-vxvp-4xwc-jpp6

    Affected
    • RubyGems activesupport >= 4.1.0, < 4.1.11; >= 4.2.0, < 4.2.2
    Fixed in
    4.2.24.1.11· Vendor fix available
    Issue
    Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

    Recommended action: Upgrade to 4.2.2 or 4.1.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →