CVE-2022-4996
MediumCVSS 5.3Exploitation Probability (EPSS)
Low risk40th percentile - higher than 40% of all known CVEs
Summary
A flaw has been found in mruby 3.1.0. The function udiv in bigint.c is affected. Executing a manipulation can lead to floating point comparison with incorrect operator. The attack can be launched remotely, and the exploit has been published.
Risk Assessment
The vulnerability may lead to incorrect calculations or logical errors in applications using mruby, which could be exploited to compromise data integrity or enable other attacks. Prompt patching is recommended.
Recommendation
Apply the available patch for mruby. If not possible, consider restricting access to functions using bigint.c or monitor for unusual behavior.
Other vulnerabilities in mruby
Original NVD description (English source)
A flaw has been found in mruby 3.1.0. Affected is the function udiv of the file bigint.c. Executing a manipulation can lead to floating point comparison with incorrect operator. It is possible to launch the attack remotely. The exploit has been published and may be used. It is best practice to apply a patch to resolve this issue.

