CVE-2022-4891
Ruby vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2022-4891) was discovered in Sisimai versions up to 4.25.14p11, specifically affecting the to_plain function in the lib/sisimai/string.rb file. The vulnerability was disclosed on January 16, 2023, and was classified as a Regex Denial of Service (ReDoS) issue (VulDB).

Technical details

The vulnerability is classified as CWE-1333, where the product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. The issue was specifically found in the to_plain function's regex pattern that could be exploited to cause denial of service through regex processing (GitHub PR).

Impact

The vulnerability affects the availability of the system by potentially causing excessive CPU consumption through regex processing. When exploited, it can lead to a denial of service condition when processing certain HTML email body content (VulDB).

Mitigation and workarounds

The vulnerability has been fixed in Sisimai version 4.25.14p12. Users are recommended to upgrade to this version or apply the patch with commit ID 51fe2e6521c9c02b421b383943dc9e4bbbe65d4e. The fix involves modifying the regex pattern in the to_plain function to prevent the denial of service condition (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4249-gjr8-jpq3HIGH8.7
  • RubyRuby
  • prosemirror_to_html
NoYesNov 13, 2025
CVE-2025-64501HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 10, 2025
GHSA-vfpf-xmwh-8m65HIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 07, 2025
GHSA-52c5-vh7f-26fxHIGH7.6
  • RubyRuby
  • prosemirror_to_html
NoYesNov 06, 2025
CVE-2025-12790HIGH7.4
  • RubyRuby
  • mqtt
NoYesNov 06, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management