GSD-2023-22799

Vulnerability from gsd - Updated: 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…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.