GSD-2020-36624

Vulnerability from gsd - Updated: 2022-12-22 00:00
Details
A vulnerability was found in ahorner text-helpers 1.1.0/1.1.1. It has been declared as critical. 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.
Aliases

{
  "GSD": {
    "alias": "CVE-2020-36624",
    "id": "GSD-2020-36624"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "text_helpers",
            "purl": "pkg:gem/text_helpers"
          }
        }
      ],
      "aliases": [
        "CVE-2020-36624",
        "GHSA-74hc-57m5-83ch"
      ],
      "details": "A vulnerability was found in ahorner text-helpers 1.1.0/1.1.1. It has\nbeen declared as critical. This vulnerability affects unknown code of the file\nlib/text_helpers/translation.rb. The manipulation of the argument link leads to\nuse of web link to untrusted target with window.opener access. The attack can be\ninitiated remotely. Upgrading to version 1.2.0 can address this issue. The name\nof the patch is 184b60ded0e43c985788582aca2d1e746f9405a3. It is recommended to\nupgrade the affected component. The identifier of this vulnerability is VDB-216520.\n",
      "id": "GSD-2020-36624",
      "modified": "2022-12-22T00:00:00.000Z",
      "published": "2022-12-22T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/ahorner/text-helpers/pull/19"
        },
        {
          "type": "WEB",
          "url": "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/ahorner/text-helpers/releases/tag/v1.2.0"
        },
        {
          "type": "WEB",
          "url": "https://vuldb.com/?id.216520"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 6.1,
          "type": "CVSS_V3"
        }
      ],
      "summary": "text_helpers uses web link to untrusted target with window.opener access"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cna@vuldb.com",
        "ID": "CVE-2020-36624",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "text-helpers",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "1.0"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "ahorner"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A vulnerability was found in ahorner text-helpers up to 1.0.x. It has been declared as critical. 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.1.0 is able to 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."
          },
          {
            "lang": "deu",
            "value": "In ahorner text-helpers bis 1.0.x wurde eine Schwachstelle ausgemacht. Sie wurde als kritisch eingestuft. Es geht um eine nicht n\u00e4her bekannte Funktion der Datei lib/text_helpers/translation.rb. Durch das Manipulieren des Arguments link mit unbekannten Daten kann eine use of web link to untrusted target with window.opener access-Schwachstelle ausgenutzt werden. Der Angriff kann \u00fcber das Netzwerk erfolgen. Ein Aktualisieren auf die Version 1.1.0 vermag dieses Problem zu l\u00f6sen. Der Patch wird als 184b60ded0e43c985788582aca2d1e746f9405a3 bezeichnet. Als bestm\u00f6gliche Massnahme wird das Einspielen eines Upgrades empfohlen."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          {
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
            "version": "3.0"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-1022",
                "lang": "eng",
                "value": "CWE-1022 Use of Web Link to Untrusted Target with window.opener Access"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/ahorner/text-helpers/pull/19",
            "refsource": "MISC",
            "url": "https://github.com/ahorner/text-helpers/pull/19"
          },
          {
            "name": "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3",
            "refsource": "MISC",
            "url": "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3"
          },
          {
            "name": "https://vuldb.com/?id.216520",
            "refsource": "MISC",
            "url": "https://vuldb.com/?id.216520"
          },
          {
            "name": "https://github.com/ahorner/text-helpers/releases/tag/v1.1.0",
            "refsource": "MISC",
            "url": "https://github.com/ahorner/text-helpers/releases/tag/v1.1.0"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2020-36624",
      "cvss_v3": 6.1,
      "date": "2022-12-22",
      "description": "A vulnerability was found in ahorner text-helpers 1.1.0/1.1.1. It has\nbeen declared as critical. This vulnerability affects unknown code of the file\nlib/text_helpers/translation.rb. The manipulation of the argument link leads to\nuse of web link to untrusted target with window.opener access. The attack can be\ninitiated remotely. Upgrading to version 1.2.0 can address this issue. The name\nof the patch is 184b60ded0e43c985788582aca2d1e746f9405a3. It is recommended to\nupgrade the affected component. The identifier of this vulnerability is VDB-216520.\n",
      "gem": "text_helpers",
      "ghsa": "74hc-57m5-83ch",
      "patched_versions": [
        "\u003e= 1.2.0"
      ],
      "related": {
        "url": [
          "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3",
          "https://github.com/ahorner/text-helpers/releases/tag/v1.2.0",
          "https://vuldb.com/?id.216520"
        ]
      },
      "title": "text_helpers uses web link to untrusted target with window.opener access",
      "unaffected_versions": [
        "\u003c 1.1.0"
      ],
      "url": "https://github.com/ahorner/text-helpers/pull/19"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=1.1.0 \u003c1.2.0",
          "affected_versions": "All versions starting from 1.1.0 before 1.2.0",
          "cwe_ids": [
            "CWE-1022",
            "CWE-1035",
            "CWE-266",
            "CWE-937"
          ],
          "date": "2022-12-22",
          "description": "A vulnerability was found in ahorner text-helpers 1.1.0/1.1.1. It has been declared as critical. 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 is able to 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.",
          "fixed_versions": [
            "1.2.0"
          ],
          "identifier": "CVE-2020-36624",
          "identifiers": [
            "GHSA-74hc-57m5-83ch",
            "CVE-2020-36624"
          ],
          "not_impacted": "All versions before 1.1.0, all versions starting from 1.2.0",
          "package_slug": "gem/text_helpers",
          "pubdate": "2022-12-22",
          "solution": "Upgrade to version 1.2.0 or above.",
          "title": "Incorrect Privilege Assignment",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-36624",
            "https://github.com/ahorner/text-helpers/pull/19",
            "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3",
            "https://github.com/ahorner/text-helpers/releases/tag/v1.2.0",
            "https://vuldb.com/?id.216520",
            "https://github.com/advisories/GHSA-74hc-57m5-83ch"
          ],
          "uuid": "5ada5082-1381-40cc-8289-4a4945cd6a84"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:texthelpers_project:texthelpers:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "70E1AB99-F46B-4D63-B5DF-78E026B59BCD",
                    "versionEndExcluding": "1.1.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "A vulnerability was found in ahorner text-helpers up to 1.0.x. It has been declared as critical. 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.1.0 is able to 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."
          },
          {
            "lang": "es",
            "value": "Se encontr\u00f3 una vulnerabilidad en ahorner text-helpers hasta 1.0.x. Ha sido declarada cr\u00edtica. Esta vulnerabilidad afecta a un c\u00f3digo desconocido del archivo lib/text_helpers/translation.rb. La manipulaci\u00f3n del argumento link conduce al uso de un enlace web a un objetivo que no es de confianza con acceso a window.opener. El ataque se puede iniciar de forma remota. La actualizaci\u00f3n a la versi\u00f3n 1.1.0 puede solucionar este problema. El nombre del parche es 184b60ded0e43c985788582aca2d1e746f9405a3. Se recomienda actualizar el componente afectado. El identificador de esta vulnerabilidad es VDB-216520."
          }
        ],
        "id": "CVE-2020-36624",
        "lastModified": "2024-04-11T01:08:41.583",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.1,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 2.7,
              "source": "nvd@nist.gov",
              "type": "Primary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.4,
              "source": "cna@vuldb.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2022-12-22T10:15:08.853",
        "references": [
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/ahorner/text-helpers/commit/184b60ded0e43c985788582aca2d1e746f9405a3"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/ahorner/text-helpers/pull/19"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Release Notes",
              "Third Party Advisory"
            ],
            "url": "https://github.com/ahorner/text-helpers/releases/tag/v1.1.0"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://vuldb.com/?id.216520"
          }
        ],
        "sourceIdentifier": "cna@vuldb.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1022"
              }
            ],
            "source": "cna@vuldb.com",
            "type": "Primary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…