CVE-2022-0570
NixOS vulnerability analysis and mitigation

Overview

A Heap-based Buffer Overflow vulnerability was discovered in Homebrew mruby versions prior to 3.2, identified as CVE-2022-0570. The vulnerability was reported and tracked in early 2022, affecting the mruby programming language implementation (NVD, CVE).

Technical details

The vulnerability is classified as a Heap-based Buffer Overflow (CWE-122) with a CVSS v3.1 base score of 9.8 (CRITICAL) according to NIST assessment, with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue was specifically related to a bug in the gen_values() function within the code generation component, affecting the handling of method calls with 15 arguments and argument packing in arrays (GitHub Patch).

Impact

The vulnerability received a critical severity rating due to its potential for complete compromise of system confidentiality, integrity, and availability. With a CVSS score of 9.8, it represents a serious security risk that could allow attackers to execute arbitrary code or cause system crashes (NVD).

Mitigation and workarounds

The vulnerability was fixed in mruby version 3.2. Users are advised to upgrade to this version or later to mitigate the risk. The fix involved correcting the limit handling for method calls with multiple arguments and improving array argument packing (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management