Vulnerabilities in pkg:gem/activeresource
PACKAGECVE-2020-8151 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Activeresource libraries in the RubyGems ecosystem. The issue involves information disclosure issue in active resource. Remediation is available by upgrading affected packages to version 5.1.1.
pkg:gem/activeresource
Vulnerability advisories affecting package pkg:gem/activeresource. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-46j2-xjgp-jrfm | CVE-2020-8151 | HIGH | Information disclosure issue in Active Resource |
CVE-2020-8151 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2020-8151
To remediate this vulnerability, upgrade all affected Activeresource 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 activeresource to 5.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for activeresource
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8151, inspect your project dependencies for Activeresource:
inspect dependencies for activeresource
Analyze the terminal output to locate any version of Activeresource in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.1.1), 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 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Activeresource, 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
CVE-2020-8151 Affected Activeresource Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
activeresource
|
RubyGems |
≥ 3.0.0.rc
< 5.1.1
|
5.1.1
|
References
Frequently Asked Questions
What is CVE-2020-8151?
Which Activeresource versions are affected?
What version fixes CVE-2020-8151?
Is activeresource affected?
What is the CVSS score of CVE-2020-8151?
What CWE is associated with CVE-2020-8151?
How can I check RubyGems dependencies for CVE-2020-8151?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-46j2-xjgp-jrfm",
"modified" : "2025-03-31T17:22:29Z",
"published" : "2020-05-21T21:09:38Z",
"aliases" : [ "CVE-2020-8151" ],
"summary" : "Information disclosure issue in Active Resource",
"details" : "There is a possible information disclosure issue in Active Resource <v5.1.1 that could allow an attacker to create specially crafted requests to access data in an unexpected way and possibly leak information.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "activeresource"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0.rc"
}, {
"fixed" : "5.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8151"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/activeresource/commit/0de18f7e96fa90bbf23b16ac11980bc2cb6a716e"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/rails/commit/0e969bdaf8ff2e3384350687aa0b583f94d6dfbc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rails/activeresource"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/rubyonrails-security/pktoF4VmiM8"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P7B7A4H22DZ522HLDS3JX3NX2CXIOZSR"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-05-21T17:46:20Z",
"nvd_published_at" : "2020-05-12T13:15:00Z"
}
}