GHSA-35c4-f3rq-f9g3: Activesupport Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-35c4-f3rq-f9g3 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Activesupport libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects activesupport. Remediation is available by upgrading affected packages to version 4.1.11, 4.2.2, 3.2.22.
GHSA-35c4-f3rq-f9g3 at a Glance
How to Fix GHSA-35c4-f3rq-f9g3
To remediate this vulnerability, upgrade all affected Activesupport 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 activesupport to 4.1.11
Upgrade activesupport to 4.2.2
Upgrade activesupport to 3.2.22
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for activesupport
How to Check if You Are Affected
To determine whether your application is affected by GHSA-35c4-f3rq-f9g3, inspect your project dependencies for Activesupport:
inspect dependencies for activesupport
Analyze the terminal output to locate any version of Activesupport in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.11), 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 Activesupport, 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-35c4-f3rq-f9g3 Affected Activesupport Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
activesupport
|
RubyGems |
≥ 4.0.0
< 4.1.11
|
4.1.11
|
|
activesupport
|
RubyGems |
≥ 4.2.0
< 4.2.2
|
4.2.2
|
|
activesupport
|
RubyGems |
≥ 3.2.0
< 3.2.22
|
3.2.22
|
References
Frequently Asked Questions
What is GHSA-35c4-f3rq-f9g3?
Which Activesupport versions are affected?
What version fixes GHSA-35c4-f3rq-f9g3?
Is activesupport affected?
What CWE is associated with GHSA-35c4-f3rq-f9g3?
How can I check RubyGems dependencies for GHSA-35c4-f3rq-f9g3?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-35c4-f3rq-f9g3",
"modified" : "2020-06-16T21:42:52Z",
"published" : "2018-09-17T21:57:23Z",
"withdrawn" : "2020-06-16T20:54:03Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects activesupport",
"details" : "Withdrawn, accidental duplicate publish.\n\nThe (1) jdom.rb and (2) rexml.rb components in Active Support in Ruby on Rails 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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activesupport"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.1.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activesupport"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activesupport"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.22"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3227"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-35c4-f3rq-f9g3"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:54:03Z",
"nvd_published_at" : null
}
}