What’s Vulnerable › Vulnerabilities

CVE-2022-28738

Description

A double free was found in the Regexp compiler in Ruby 3.x before 3.0.4 and 3.1.x before 3.1.2. If a victim attempts to create a Regexp from untrusted user input, an attacker may be able to write to unexpected memory locations.

Affected products

How to fix

Upgrade to a fixed version: Ruby 3.0.4, 3.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-28738 or the next vulnerability affects your stack