UNKNOWN WRITE in udiv in mruby
Summary
OSV-2022-562: UNKNOWN WRITE in udiv. Affects mruby versions >= 872020bb3d85ba4066ec19cfcad375e51fdf024b, < 8d349815309e374b545deb4d4202323c7bc5bd28. Fixed in 8d349815309e374b545deb4d4202323c7bc5bd28. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
mruby is an open-source lightweight implementation of the Ruby programming language. It is designed to be embeddable and easily integrated into other software projects. The vulnerability in question affects the udiv function within the mruby codebase.
Vulnerability Detail
The vulnerability is categorized as an UNKNOWN WRITE crash type. It occurs in the udiv function, specifically in the mrb_bint_mod and int_mod functions. The exact cause and impact of the vulnerability are not specified in the provided information.
How To Fix
Minimum fixed version
8d349815309e374b545deb4d4202323c7bc5bd28
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
No workaround is mentioned in the provided information.
Conclusion
In conclusion, the UNKNOWN WRITE vulnerability in udiv in mruby can be fixed by updating the package to a version that includes the fix. No workaround is mentioned, and further information can be found in the provided OSS-Fuzz report. For additional support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for mruby →
FAQ
mruby is a lightweight implementation of the Ruby programming language that is designed to be embeddable and easily integrated into other software projects.
The provided information does not specify the impact of this vulnerability.
To fix the vulnerability, update the mruby package to a version that includes the fix. The fix was implemented in commit 8d349815309e374b545deb4d4202323c7bc5bd28.
No workaround is mentioned in the provided information.
For more information, you can refer to the OSS-Fuzz report at the following URL: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48904
References
Related vulnerabilities
Recent vulnerabilities recorded for mruby.