UNKNOWN READ vulnerability in mruby

mruby Updated 02 Oct 2025

Summary

06/03/2023
MEDIUM
Yes i
Medium
Not published

OSV-2023-151: UNKNOWN READ in mrb_vm_find_method. Affects mruby versions >= 672495555bb741aefbde2f31a523f7ed8666d2c6, < 8d1192f8a28034b1931a41e8c55cd86715101d0c. Fixed in 8d1192f8a28034b1931a41e8c55cd86715101d0c. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

mruby is an open-source lightweight implementation of the Ruby programming language. It is designed to be embedded in other applications to provide scripting capabilities. This vulnerability affects the mrb_vm_find_method function in mruby, which is responsible for finding a method in the virtual machine. The vulnerability allows for an unknown read operation, leading to a crash. The issue was reported through the OSS-Fuzz project.

Vulnerability Detail

The UNKNOWN READ vulnerability in mrb_vm_find_method can potentially be exploited by an attacker to read sensitive information from the memory of the virtual machine. This could result in the disclosure of sensitive data or the execution of arbitrary code. The vulnerability is considered to have a medium severity level.

How To Fix

Minimum fixed version

8d1192f8a28034b1931a41e8c55cd86715101d0c

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability at the moment.

Conclusion

The UNKNOWN READ vulnerability in mruby can potentially lead to the disclosure of sensitive information or the execution of arbitrary code. It is recommended to update the mruby package to the latest version to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for mruby →

Share this vulnerability

FAQ

mruby is a lightweight implementation of the Ruby programming language that can be embedded in other applications.

The vulnerability allows for an unknown read operation, which could lead to the disclosure of sensitive information or the execution of arbitrary code.

To fix this vulnerability, update the mruby package to version 8d1192f8a28034b1931a41e8c55cd86715101d0c or later.

There is currently no known workaround for this vulnerability.

You can find more information about this vulnerability in the OSS-Fuzz report: [link to report]

Related vulnerabilities

Recent vulnerabilities recorded for mruby.

How To Fix

Minimum fixed version

8d1192f8a28034b1931a41e8c55cd86715101d0c

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback