GHSA-hm48-76wh-q86v: Activerecord High Severity Vulnerability That Affects Vulnerability
HIGHGHSA-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
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.
Upgrade activerecord to 4.0.9
Upgrade activerecord to 4.1.5
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
GHSA-hm48-76wh-q86v Affected Activerecord Versions
2 component(s)| 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?
Which Activerecord versions are affected?
What version fixes GHSA-hm48-76wh-q86v?
Is activerecord affected?
What CWE is associated with GHSA-hm48-76wh-q86v?
How can I check RubyGems dependencies for GHSA-hm48-76wh-q86v?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}