# High severity vulnerability that affects activerecord

Source: https://junglewise.ai/threats/high-severity-vulnerability-that-affects-activerecord-3bd8ab04  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2018-08-21  
License: CC BY 4.0 with a link back

Severity: info · Published 2018-08-21

High severity vulnerability that affects activerecord

Technologies: [activerecord (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-activerecord). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 21 August 2018.

**Which products and versions are affected?** activerecord (RubyGems) ECOSYSTEM:introduced=4.0.0,fixed=4.0.9.

**Is there a fix for This vulnerability?** Yes. activerecord (RubyGems): upgrade to 4.0.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run activerecord (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- activerecord (RubyGems): upgrade to 4.0.9 or later

  ```sh
  bundle update activerecord
  ```


## Affected products

- activerecord (RubyGems) ECOSYSTEM:introduced=4.0.0,fixed=4.0.9

## Related threats

- [Active Record logging vulnerable to ANSI escape injection](https://junglewise.ai/threats/cve-2025-55193-active-record-logging-vulnerable-to-ansi-escape-injection)
- [Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter](https://junglewise.ai/threats/cve-2022-44566-denial-of-service-vulnerability-in-activerecord-s-postgresql)
- [SQL Injection Vulnerability via ActiveRecord comments](https://junglewise.ai/threats/cve-2023-22794-sql-injection-vulnerability-via-activerecord-comments)
- [Ruby on Rails Active Record RCE via YAML Deserialization in Serialized Columns](https://junglewise.ai/threats/cve-2022-32224-ruby-on-rails-active-record-rce-via-yaml-deserialization-in)
- [Active Record component in Ruby on Rails has a data-type injection vulnerability](https://junglewise.ai/threats/cve-2013-3221-active-record-component-in-ruby-on-rails-has-a-data-type-injection)
