CVE-2022-0240
NixOS vulnerability analysis and mitigation

Overview

A NULL Pointer Dereference vulnerability was identified in mruby, tracked as CVE-2022-0240. The vulnerability was discovered and reported on January 16, 2022. This security flaw affected multiple versions of mruby, including version 2.1.2-3 and earlier releases (Debian Tracker).

Technical details

The vulnerability involves a NULL Pointer Dereference issue in the mruby codebase. The specific fix involved adding an obj->c check before the prepare_singleton_class() function call, as evidenced in the commit that addressed this vulnerability (GitHub Commit).

Impact

The vulnerability could potentially lead to application crashes due to NULL pointer dereferencing, which could affect the stability and availability of systems using the affected mruby versions (Debian Tracker).

Mitigation and workarounds

The vulnerability has been fixed in newer versions of mruby. Debian's bookworm release contains the fix in version 3.1.0-3, and subsequent versions (sid, trixie 3.3.0-1) also include the patch. Users are advised to upgrade to these fixed versions to mitigate the vulnerability (Debian Tracker).

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