GSD-2022-4891

Vulnerability from gsd - Updated: 2023-01-17 00:00
Details
A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function `to_plain` of the file `lib/sisimai/string.rb`. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component.
Aliases

{
  "GSD": {
    "alias": "CVE-2022-4891",
    "description": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function to_plain of the file lib/sisimai/string.rb. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218452.",
    "id": "GSD-2022-4891"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "sisimai",
            "purl": "pkg:gem/sisimai"
          }
        }
      ],
      "aliases": [
        "CVE-2022-4891",
        "GHSA-vm74-j4wq-82xj"
      ],
      "details": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified\nas problematic. This vulnerability affects the function `to_plain` of the file `lib/sisimai/string.rb`.\nThe manipulation leads to inefficient regular expression complexity. The exploit\nhas been disclosed to the public and may be used. Upgrading to version 4.25.14p12\nis able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e.\nIt is recommended to upgrade the affected component.\n",
      "id": "GSD-2022-4891",
      "modified": "2023-01-17T00:00:00.000Z",
      "published": "2023-01-17T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/sisimai/rb-sisimai/pull/244"
        },
        {
          "type": "WEB",
          "url": "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e"
        },
        {
          "type": "WEB",
          "url": "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html"
        },
        {
          "type": "WEB",
          "url": "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12"
        },
        {
          "type": "WEB",
          "url": "https://vuldb.com/?id.218452"
        }
      ],
      "schema_version": "1.4.0",
      "summary": "Sisimai Inefficient Regular Expression Complexity vulnerability"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cna@vuldb.com",
        "ID": "CVE-2022-4891",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Sisimai",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "version_value": "4.25.14p11"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "VulDB GitHub Commit Analyzer"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function to_plain of the file lib/sisimai/string.rb. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218452."
          },
          {
            "lang": "deu",
            "value": "In Sisimai bis 4.25.14p11 wurde eine problematische Schwachstelle gefunden. Betroffen ist die Funktion to_plain der Datei lib/sisimai/string.rb. Durch die Manipulation mit unbekannten Daten kann eine inefficient regular expression complexity-Schwachstelle ausgenutzt werden. Der Exploit steht zur \u00f6ffentlichen Verf\u00fcgung. Ein Aktualisieren auf die Version 4.25.14p12 vermag dieses Problem zu l\u00f6sen. Der Patch wird als 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e bezeichnet. Als bestm\u00f6gliche Massnahme wird das Einspielen eines Upgrades empfohlen."
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "baseScore": 3.5,
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          },
          {
            "baseScore": 3.5,
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.0"
          },
          {
            "baseScore": 2.7,
            "vectorString": "AV:A/AC:L/Au:S/C:N/I:N/A:P",
            "version": "2.0"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-1333",
                "lang": "eng",
                "value": "CWE-1333 Inefficient Regular Expression Complexity"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://vuldb.com/?id.218452",
            "refsource": "MISC",
            "url": "https://vuldb.com/?id.218452"
          },
          {
            "name": "https://vuldb.com/?ctiid.218452",
            "refsource": "MISC",
            "url": "https://vuldb.com/?ctiid.218452"
          },
          {
            "name": "https://github.com/sisimai/rb-sisimai/pull/244",
            "refsource": "MISC",
            "url": "https://github.com/sisimai/rb-sisimai/pull/244"
          },
          {
            "name": "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html",
            "refsource": "MISC",
            "url": "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html"
          },
          {
            "name": "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e",
            "refsource": "MISC",
            "url": "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e"
          },
          {
            "name": "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12",
            "refsource": "MISC",
            "url": "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2022-4891",
      "date": "2023-01-17",
      "description": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified\nas problematic. This vulnerability affects the function `to_plain` of the file `lib/sisimai/string.rb`.\nThe manipulation leads to inefficient regular expression complexity. The exploit\nhas been disclosed to the public and may be used. Upgrading to version 4.25.14p12\nis able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e.\nIt is recommended to upgrade the affected component.\n",
      "gem": "sisimai",
      "ghsa": "vm74-j4wq-82xj",
      "patched_versions": [
        "\u003e= 4.25.14p12"
      ],
      "related": {
        "url": [
          "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e",
          "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html",
          "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12",
          "https://vuldb.com/?id.218452"
        ]
      },
      "title": "Sisimai Inefficient Regular Expression Complexity vulnerability",
      "url": "https://github.com/sisimai/rb-sisimai/pull/244"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c4.25.14p12",
          "affected_versions": "All versions before 4.25.14p12",
          "cwe_ids": [
            "CWE-1035",
            "CWE-1333",
            "CWE-937"
          ],
          "date": "2023-01-20",
          "description": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function to_plain of the file lib/sisimai/string.rb. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218452.",
          "fixed_versions": [
            "4.25.14p12"
          ],
          "identifier": "CVE-2022-4891",
          "identifiers": [
            "GHSA-vm74-j4wq-82xj",
            "CVE-2022-4891"
          ],
          "not_impacted": "All versions starting from 4.25.14p12",
          "package_slug": "gem/sisimai",
          "pubdate": "2023-01-17",
          "solution": "Upgrade to version 4.25.14p12 or above.",
          "title": "Inefficient Regular Expression Complexity",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-4891",
            "https://github.com/sisimai/rb-sisimai/pull/244",
            "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e",
            "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html",
            "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12",
            "https://vuldb.com/?ctiid.218452",
            "https://vuldb.com/?id.218452",
            "https://github.com/advisories/GHSA-vm74-j4wq-82xj"
          ],
          "uuid": "e28d157d-7e91-4b99-812b-7416b0959199"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A3549E81-5B58-45A5-97C6-797FF262C0B1",
                    "versionEndExcluding": "4.25.14",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:-:*:*:*:*:*:*",
                    "matchCriteriaId": "582141AF-FCED-4765-8EDE-8CF501DAC3E9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p1:*:*:*:*:*:*",
                    "matchCriteriaId": "814D8C70-D100-4B73-8D86-1936C6263C10",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p10:*:*:*:*:*:*",
                    "matchCriteriaId": "12924AEE-D957-497F-8EE5-AA7A74E24AEF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p11:*:*:*:*:*:*",
                    "matchCriteriaId": "45268EA6-08B9-48D2-BA7A-096E637BB1C9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p3:*:*:*:*:*:*",
                    "matchCriteriaId": "D9391B85-E46E-4D6D-BE1A-1CE114ABF2C5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p5:*:*:*:*:*:*",
                    "matchCriteriaId": "500E986E-4CD0-468C-9B31-D1BB94FC1DF7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p6:*:*:*:*:*:*",
                    "matchCriteriaId": "CF93CF99-12ED-4E7D-A407-730CEFB6EB40",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p7:*:*:*:*:*:*",
                    "matchCriteriaId": "CFF9C919-8423-4F2B-B2B3-CD0CA33954A5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p8:*:*:*:*:*:*",
                    "matchCriteriaId": "54A66AD5-F4A4-47D1-8CAD-6501C753352A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:libsisimai:sisimai:4.25.14:p9:*:*:*:*:*:*",
                    "matchCriteriaId": "C2C65642-EE72-45CD-8542-F2FC8825DAC7",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "A vulnerability has been found in Sisimai up to 4.25.14p11 and classified as problematic. This vulnerability affects the function to_plain of the file lib/sisimai/string.rb. The manipulation leads to inefficient regular expression complexity. The exploit has been disclosed to the public and may be used. Upgrading to version 4.25.14p12 is able to address this issue. The name of the patch is 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-218452."
          }
        ],
        "id": "CVE-2022-4891",
        "lastModified": "2024-04-11T01:17:33.743",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "LOW",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "ADJACENT_NETWORK",
                "authentication": "SINGLE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 2.7,
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "vectorString": "AV:A/AC:L/Au:S/C:N/I:N/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 5.1,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "cna@vuldb.com",
              "type": "Secondary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "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,
              "source": "nvd@nist.gov",
              "type": "Primary"
            },
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "ADJACENT_NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 3.5,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
                "version": "3.1"
              },
              "exploitabilityScore": 2.1,
              "impactScore": 1.4,
              "source": "cna@vuldb.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2023-01-17T20:15:11.757",
        "references": [
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://gist.githubusercontent.com/gmcabrita/e5dc0332473fc2e3a7a407434c8d21c7/raw/00b12035e5e1b685469f143b94301a50306376ba/example.html"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/sisimai/rb-sisimai/commit/51fe2e6521c9c02b421b383943dc9e4bbbe65d4e"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Exploit",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/sisimai/rb-sisimai/pull/244"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Release Notes",
              "Third Party Advisory"
            ],
            "url": "https://github.com/sisimai/rb-sisimai/releases/tag/v4.25.14p12"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Permissions Required",
              "Third Party Advisory"
            ],
            "url": "https://vuldb.com/?ctiid.218452"
          },
          {
            "source": "cna@vuldb.com",
            "tags": [
              "Permissions Required",
              "Third Party Advisory"
            ],
            "url": "https://vuldb.com/?id.218452"
          }
        ],
        "sourceIdentifier": "cna@vuldb.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1333"
              }
            ],
            "source": "cna@vuldb.com",
            "type": "Primary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…