GHSA-hm48-76wh-q86v: Activerecord High Severity Vulnerability That Affects Vulnerability

HIGH
Published
Advisory Summary

GHSA-hm48-76wh-q86v is a HIGH high severity vulnerability that affects vulnerability (General Security Weakness) affecting Activerecord libraries in the RubyGems ecosystem. The issue involves high severity vulnerability that affects activerecord. Remediation is available by upgrading affected packages to version 4.0.9, 4.1.5.

GHSA-hm48-76wh-q86v at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-hm48-76wh-q86v
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Activerecord
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix GHSA-hm48-76wh-q86v

To remediate this vulnerability, upgrade all affected Activerecord dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

activerecord fixed: 4.0.9
Upgrade activerecord to 4.0.9
activerecord fixed: 4.1.5
Upgrade activerecord to 4.1.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for activerecord

How to Check if You Are Affected

To determine whether your application is affected by GHSA-hm48-76wh-q86v, inspect your project dependencies for Activerecord:

inspect dependencies for activerecord

Analyze the terminal output to locate any version of Activerecord in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.0.9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Activerecord, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Withdrawn, accidental duplicate publish. activerecord/lib/active_record/relation/query_methods.rb in Active Record in Ruby on Rails 4.0.x before 4.0.9 and 4.1.x before 4.1.5 allows remote attackers to bypass the strong parameters protection mechanism via crafted input to an application that makes create_with calls.

GHSA-hm48-76wh-q86v Affected Activerecord Versions

2 component(s)
Fixed Versions:
4.0.94.1.5
Product / Package Ecosystem Affected Versions Fixed Version
activerecord
RubyGems
≥ 4.0.0
< 4.0.9
4.0.9
activerecord
RubyGems
≥ 4.1.0
< 4.1.5
4.1.5

References

Frequently Asked Questions

What is GHSA-hm48-76wh-q86v?
GHSA-hm48-76wh-q86v is a security vulnerability in Activerecord involving High severity vulnerability that affects activerecord under General Security Weakness.
Which Activerecord versions are affected?
Affected versions include releases prior to 4.0.9, 4.1.5 across affected packages: activerecord.
What version fixes GHSA-hm48-76wh-q86v?
Upgrading to 4.0.9, 4.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is activerecord affected?
Yes, activerecord is affected in releases prior to 4.0.9, 4.1.5. Upgrade your dependency to 4.0.9, 4.1.5 or later.
What CWE is associated with GHSA-hm48-76wh-q86v?
GHSA-hm48-76wh-q86v is classified under General Security Weakness.
How can I check RubyGems dependencies for GHSA-hm48-76wh-q86v?
Run the dependency tree command: 'inspect dependencies for activerecord'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hm48-76wh-q86v",
  "modified" : "2020-06-17T15:14:48Z",
  "published" : "2018-08-21T19:03:17Z",
  "withdrawn" : "2020-06-17T15:14:48Z",
  "aliases" : [ ],
  "summary" : "High severity vulnerability that affects activerecord",
  "details" : "Withdrawn, accidental duplicate publish.\n\nactiverecord/lib/active_record/relation/query_methods.rb in Active Record in Ruby on Rails 4.0.x before 4.0.9 and 4.1.x before 4.1.5 allows remote attackers to bypass the strong parameters protection mechanism via crafted input to an application that makes create_with calls.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activerecord"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activerecord"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3514"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-hm48-76wh-q86v"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-17T15:14:48Z",
    "nvd_published_at" : null
  }
}