GHSA-44vc-fpcg-5cc5: Safemode Moderate Severity Vulnerability That Affects Vulnerability
MODERATEGHSA-44vc-fpcg-5cc5 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Safemode libraries in the RubyGems ecosystem. The issue involves moderate severity vulnerability that affects safemode. Remediation is available by upgrading affected packages to version 1.2.4.
GHSA-44vc-fpcg-5cc5 at a Glance
How to Fix GHSA-44vc-fpcg-5cc5
To remediate this vulnerability, upgrade all affected Safemode 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 safemode to 1.2.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for safemode
How to Check if You Are Affected
To determine whether your application is affected by GHSA-44vc-fpcg-5cc5, inspect your project dependencies for Safemode:
inspect dependencies for safemode
Analyze the terminal output to locate any version of Safemode in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.4), 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 Safemode, 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-44vc-fpcg-5cc5 Affected Safemode Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
safemode
|
RubyGems |
< 1.2.4
|
1.2.4
|
References
Frequently Asked Questions
What is GHSA-44vc-fpcg-5cc5?
Which Safemode versions are affected?
What version fixes GHSA-44vc-fpcg-5cc5?
Is safemode affected?
What CWE is associated with GHSA-44vc-fpcg-5cc5?
How can I check RubyGems dependencies for GHSA-44vc-fpcg-5cc5?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-44vc-fpcg-5cc5",
"modified" : "2020-06-16T21:30:40Z",
"published" : "2018-08-08T22:29:49Z",
"withdrawn" : "2020-06-16T20:57:19Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects safemode",
"details" : "Withdrawn, accidental duplicate publish.\n\nThe Safemode gem before 1.2.4 for Ruby, when initialized with a delegate object that is a Rails controller, allows context-dependent attackers to obtain sensitive information via the inspect method.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "safemode"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2016-3693"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-44vc-fpcg-5cc5"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T20:57:19Z",
"nvd_published_at" : null
}
}