Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

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.


Published

2022-05-09T18:15:08.490

Last Modified

2024-11-21T06:57:50.320

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 9.8 (CRITICAL)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: PARTIAL
  • Integrity Impact: PARTIAL
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

6.4

Weaknesses
  • Type: Primary
    CWE-415

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application ruby-lang ruby < 3.0.4 Yes
Application ruby-lang ruby < 3.1.2 Yes

References