BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-28738 in Ruby-Lang Ruby and 6 more products

Critical 9.8 Fix available Industrial / OT

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.

Affects 7 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS3.1%
EPSS percentile88th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Ruby ≥ 3.0.0, < 3.0.4 ≥ 3.1.0, < 3.1.2
Siemens SCALANCE XCM324 < 2.4
Siemens SCALANCE XCM328 < 2.4
Siemens SCALANCE XCH328 < 2.4
Siemens SCALANCE XRH334 < 2.4
Siemens SCALANCE XRM334 < 2.4
Siemens SCALANCE XCM332 < 2.4

Fix and vendor advisory

  • SCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 7 more: Update to V2.4 or later version

Source: ICSA-24-046-11

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2022-28738
BreachSpider IDBS-2022-GLOBAL-316958-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2022-05-09
Last modified2024-11-21
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement input validation and sanitization for Regexp patterns to prevent untrusted input from being processed. Use a Web Application Firewall (WAF) to filter out suspicious Regexp patterns.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.