CVE Vulnerabilities

CVE-2022-4891

Inefficient Regular Expression Complexity

Published: Jan 17, 2023 | Modified: Apr 11, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Affected Software

Name Vendor Start Version End Version
Sisimai Libsisimai * 4.25.14 (excluding)
Sisimai Libsisimai 4.25.14 (including) 4.25.14 (including)
Sisimai Libsisimai 4.25.14-p1 (including) 4.25.14-p1 (including)
Sisimai Libsisimai 4.25.14-p10 (including) 4.25.14-p10 (including)
Sisimai Libsisimai 4.25.14-p11 (including) 4.25.14-p11 (including)
Sisimai Libsisimai 4.25.14-p3 (including) 4.25.14-p3 (including)
Sisimai Libsisimai 4.25.14-p5 (including) 4.25.14-p5 (including)
Sisimai Libsisimai 4.25.14-p6 (including) 4.25.14-p6 (including)
Sisimai Libsisimai 4.25.14-p7 (including) 4.25.14-p7 (including)
Sisimai Libsisimai 4.25.14-p8 (including) 4.25.14-p8 (including)
Sisimai Libsisimai 4.25.14-p9 (including) 4.25.14-p9 (including)

Extended Description

      Attackers can create crafted inputs that
      intentionally cause the regular expression to use
      excessive backtracking in a way that causes the CPU
      consumption to spike.

Potential Mitigations

References