Vulnerabilities in pkg:gem/text_helpers
PACKAGECVE-2020-36624 is a MODERATE (CVSS 6.1) text_helpers uses web link to vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Text helpers libraries in the RubyGems ecosystem. The issue involves text_helpers uses web link to untrusted target with window.opener access. Remediation is available by upgrading affected packages to version 1.2.0.
pkg:gem/text_helpers
Vulnerability advisories affecting package pkg:gem/text_helpers. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-74hc-57m5-83ch | CVE-2020-36624 | MODERATE | text_helpers uses web link to untrusted target with window.opener access |
CVE-2020-36624 at a Glance
Security Impact
CVSS: 6.1
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:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2020-36624
To remediate this vulnerability, upgrade all affected Text helpers 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 text_helpers to 1.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for text_helpers
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-36624, inspect your project dependencies for Text helpers:
inspect dependencies for text_helpers
Analyze the terminal output to locate any version of Text helpers in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.0), 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-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Text helpers, 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-36624 Affected Text helpers Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
text_helpers
|
RubyGems |
≥ 1.1.0
< 1.2.0
|
1.2.0
|
References
Frequently Asked Questions
What is CVE-2020-36624?
Which Text helpers versions are affected?
What version fixes CVE-2020-36624?
Is text_helpers affected?
What is the CVSS score of CVE-2020-36624?
What CWE is associated with CVE-2020-36624?
How can I check RubyGems dependencies for CVE-2020-36624?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74hc-57m5-83ch",
"modified" : "2022-12-29T19:23:01Z",
"published" : "2022-12-22T12:30:17Z",
"aliases" : [ "CVE-2020-36624" ],
"summary" : "text_helpers uses web link to untrusted target with window.opener access",
"details" : "A vulnerability was found in ahorner text-helpers 1.1.0/1.1.1. This vulnerability affects unknown code of the file lib/text_helpers/translation.rb. The manipulation of the argument link leads to use of web link to untrusted target with window.opener access. The attack can be initiated remotely. Upgrading to version 1.2.0 can address this issue. The name of the patch is 184b60ded0e43c985788582aca2d1e746f9405a3. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216520.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "text_helpers"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36624"
}, {
"type" : "WEB",
"url" : "https://github.com/ahorner/text-helpers/pull/19"
}, {
"type" : "WEB",
"url" : "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ahorner/text-helpers"
}, {
"type" : "WEB",
"url" : "https://github.com/ahorner/text-helpers/releases/tag/v1.1.0"
}, {
"type" : "WEB",
"url" : "https://github.com/ahorner/text-helpers/releases/tag/v1.2.0"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/text_helpers/CVE-2020-36624.yml"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.216520"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1022", "CWE-266" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-22T20:03:04Z",
"nvd_published_at" : "2022-12-22T10:15:00Z"
}
}