CVE-2025-27220

Summary

In the CGI gem before 0.4.2 for Ruby, a Regular Expression Denial of Service (ReDoS) vulnerability exists in the Util#escapeElement method.

Affected Software

VendorProductVersion RangeStatus
ruby-langCGI0 < 0.3.5.1affected
ruby-langCGI0.3.6 < 0.3.7affected
ruby-langCGI0.4.0 < 0.4.2affected

Weaknesses

  • CWE-1333: CWE-1333 Inefficient Regular Expression Complexity

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

References