NULL Pointer Dereference Affecting mruby/mruby package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MRUBYMRUBY-2440543
  • published3 Apr 2022
  • disclosed3 Apr 2022
  • creditalexhycheung

Introduced: 3 Apr 2022

CVE-2022-1201  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in mrb_vm_exec, leading to a crash.

PoC

o13 = Comparable.initialize() {||0x7f.instance_eval() do super rescue caller (0..1).sort_by() do break end end }

References

CVSS Scores

version 3.1