CVE-2022-28738

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*

History

24 Jan 2024, 05:15

Type Values Removed Values Added
References
  • () https://security.gentoo.org/glsa/202401-27 -

29 Nov 2022, 17:18

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20220624-0002/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20220624-0002/ - Third Party Advisory

24 Jun 2022, 16:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20220624-0002/ -

20 May 2022, 16:17

Type Values Removed Values Added
References (MISC) https://security-tracker.debian.org/tracker/CVE-2022-28738 - (MISC) https://security-tracker.debian.org/tracker/CVE-2022-28738 - Patch, Third Party Advisory
References (MISC) https://hackerone.com/reports/1220911 - (MISC) https://hackerone.com/reports/1220911 - Permissions Required, Third Party Advisory
References (CONFIRM) https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/ - (CONFIRM) https://www.ruby-lang.org/en/news/2022/04/12/double-free-in-regexp-compilation-cve-2022-28738/ - Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
CPE cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
CWE CWE-415
First Time Ruby-lang
Ruby-lang ruby

09 May 2022, 18:45

Type Values Removed Values Added
New CVE

Information

Published : 2022-05-09 18:15

Updated : 2024-01-24 05:15


NVD link : CVE-2022-28738

Mitre link : CVE-2022-28738

CVE.ORG link : CVE-2022-28738


JSON object : View

Products Affected

ruby-lang

  • ruby
CWE
CWE-415

Double Free