CVE-2022-28739 in Apple Macos and 8 more products
There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occurs in String-to-Float conversion, including Kernel#Float and String#to_f.
Affects 9 products from 4 vendors. Description from NVD and MITRE.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Macos | ≥ 11.0, < 11.7.1 ≥ 12.0, < 12.6.1 |
| Debian | Debian Linux | 9.0 10.0 11.0 |
| Ruby-Lang | Ruby | < 2.6.10 ≥ 2.7.0, < 2.7.6 ≥ 3.0.0, < 3.0.4 ≥ 3.1.0, < 3.1.2 |
| Siemens | SCALANCE XCM324 | < 2.4 |
| Siemens | SCALANCE XCM328 | < 2.4 |
| Siemens | SCALANCE XCM332 | < 2.4 |
| Siemens | SCALANCE XRH334 | < 2.4 |
| Siemens | SCALANCE XRM334 | < 2.4 |
| Siemens | SCALANCE XCH328 | < 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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2022-28739 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-316959-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| Published | 2022-05-09 |
| Last modified | 2025-11-04 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement input validation and sanitization for all data passed to the String-to-Float conversion functions in Ruby. Ensure that all input strings are checked for length and content before processing.
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 2025-11-04.