Original 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 software
- Ruby ≥ 3.0.0 < 3.0.4≥ 3.1.0 < 3.1.2 Fixed in: 3.0.4, 3.1.2 exact match
Details
- Published
- 2022-05-09
- Last modified
- 2024-08-03
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- EPSS (30-day exploit probability)
- 3.14% (percentile 88)
References
- cve.org/CVE-2022-28738
- nvd.nist.gov/vuln/detail/CVE-2022-28738
- hackerone.com/reports/1220911
- www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/
- security-tracker.debian.org/tracker/CVE-2022-28738
- security.netapp.com/advisory/ntap-20220624-0002/
- security.gentoo.org/glsa/202401-27
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.