CVE-2022-28738
9.8
CRITICAL
CVSS 3.1
EPSS 0.46%
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.
How to fix CVE-2022-28738
To remediate CVE-2022-28738, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 3.0.4-r0 or later
- Bitnami/ruby—upgrade to 3.0.4 or later
- —upgrade to 3.0.4 or later
Is CVE-2022-28738 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.0.4-r0
- >= 3.0.0, < 3.0.4, >= 3.1.0, < 3.1.2
- >= 3.0.0, < 3.0.4, >= 3.1.0, < 3.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |