gsd-2023-22799
Vulnerability from gsd
Modified
2023-01-18 00:00
Details
There is a ReDoS based DoS vulnerability in the GlobalID gem. This vulnerability has been assigned the CVE identifier CVE-2023-22799. Versions Affected: >= 0.2.1 Not affected: < 0.2.1 Fixed Versions: 1.0.1 # Impact There is a possible DoS vulnerability in the model name parsing section of the GlobalID gem. Carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately. # Workarounds There are no feasible workarounds for this issue.
Aliases



{
  "GSD": {
    "alias": "CVE-2023-22799",
    "id": "GSD-2023-22799",
    "references": [
      "https://www.suse.com/security/cve/CVE-2023-22799.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "globalid",
            "purl": "pkg:gem/globalid"
          }
        }
      ],
      "aliases": [
        "CVE-2023-22799",
        "GHSA-23c2-gwp5-pxw9"
      ],
      "details": "There is a ReDoS based DoS vulnerability in the GlobalID gem. This\nvulnerability has been assigned the CVE identifier CVE-2023-22799.\n\nVersions Affected: \u003e= 0.2.1\nNot affected: \u003c 0.2.1\nFixed Versions: 1.0.1\n\n# Impact\n\nThere is a possible DoS vulnerability in the model name parsing section\nof the GlobalID gem. Carefully crafted input can cause the regular\nexpression engine to take an unexpected amount of time. All users running\nan affected release should either upgrade or use one of the workarounds\nimmediately.\n\n# Workarounds\n\nThere are no feasible workarounds for this issue.\n",
      "id": "GSD-2023-22799",
      "modified": "2023-01-18T00:00:00.000Z",
      "published": "2023-01-18T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/rails/globalid/releases/tag/v1.0.1"
        }
      ],
      "schema_version": "1.4.0",
      "summary": "ReDoS based DoS vulnerability in GlobalID"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "ID": "CVE-2023-22799",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "https://github.com/rails/globalid",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "1.0.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A ReDoS based DoS vulnerability in the GlobalID \u003c1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "Denial of Service (CWE-400)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127",
            "refsource": "MISC",
            "url": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2023-22799",
      "date": "2023-01-18",
      "description": "There is a ReDoS based DoS vulnerability in the GlobalID gem. This\nvulnerability has been assigned the CVE identifier CVE-2023-22799.\n\nVersions Affected: \u003e= 0.2.1\nNot affected: \u003c 0.2.1\nFixed Versions: 1.0.1\n\n# Impact\n\nThere is a possible DoS vulnerability in the model name parsing section\nof the GlobalID gem. Carefully crafted input can cause the regular\nexpression engine to take an unexpected amount of time. All users running\nan affected release should either upgrade or use one of the workarounds\nimmediately.\n\n# Workarounds\n\nThere are no feasible workarounds for this issue.\n",
      "gem": "globalid",
      "ghsa": "23c2-gwp5-pxw9",
      "patched_versions": [
        "\u003e= 1.0.1"
      ],
      "title": "ReDoS based DoS vulnerability in GlobalID",
      "unaffected_versions": [
        "\u003c 0.2.1"
      ],
      "url": "https://github.com/rails/globalid/releases/tag/v1.0.1"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=0.2.1 \u003c1.0.1",
          "affected_versions": "All versions starting from 0.2.1 before 1.0.1",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-1333",
            "CWE-937"
          ],
          "date": "2023-02-16",
          "description": "A ReDoS based DoS vulnerability in the GlobalID \u003c1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.",
          "fixed_versions": [
            "1.0.1"
          ],
          "identifier": "CVE-2023-22799",
          "identifiers": [
            "CVE-2023-22799",
            "GHSA-23c2-gwp5-pxw9",
            "GMS-2023-62"
          ],
          "not_impacted": "All versions before 0.2.1, all versions starting from 1.0.1",
          "package_slug": "gem/globalid",
          "pubdate": "2023-02-09",
          "solution": "Upgrade to version 1.0.1 or above.",
          "title": "Inefficient Regular Expression Complexity",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2023-22799",
            "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127",
            "https://github.com/rails/globalid/releases/tag/v1.0.1",
            "https://github.com/advisories/GHSA-23c2-gwp5-pxw9"
          ],
          "uuid": "8a9dd0bd-5e46-4429-b7fe-584700ce9b22"
        },
        {
          "affected_range": "\u003c0",
          "affected_versions": "All versions starting from 0.2.1 before 1.0.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-01-18",
          "description": "There is a ReDoS based DoS vulnerability in the GlobalID gem. There is possible DoS vulnerability in the model name parsing section of the GlobalID gem. Carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately.",
          "fixed_versions": [
            "1.0.1"
          ],
          "identifier": "GMS-2023-62",
          "identifiers": [
            "GHSA-23c2-gwp5-pxw9",
            "GMS-2023-62",
            "CVE-2023-22799"
          ],
          "not_impacted": "All versions before 0.2.1, all versions starting from 1.0.1",
          "package_slug": "gem/globalid",
          "pubdate": "2023-01-18",
          "solution": "Upgrade to version 1.0.1 or above.",
          "title": "Duplicate of ./gem/globalid/CVE-2023-22799.yml",
          "urls": [
            "https://github.com/rails/globalid/releases/tag/v1.0.1",
            "https://github.com/advisories/GHSA-23c2-gwp5-pxw9"
          ],
          "uuid": "65d090a3-bc21-4172-95ee-8a36ec89b431"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:rubyonrails:globalid:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.0.1",
                "versionStartIncluding": "0.2.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve-assignments@hackerone.com",
          "ID": "CVE-2023-22799"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "A ReDoS based DoS vulnerability in the GlobalID \u003c1.0.1 which could allow an attacker supplying a carefully crafted input can cause the regular expression engine to take an unexpected amount of time. All users running an affected release should either upgrade or use one of the workarounds immediately."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-1333"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "https://discuss.rubyonrails.org/t/cve-2023-22799-possible-redos-based-dos-vulnerability-in-globalid/82127"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-02-16T20:18Z",
      "publishedDate": "2023-02-09T20:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...