Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | mruby | 3.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | mruby | No fix yet | — |
| Ubuntu 26.04 LTS | mruby | No fix yet | — |
| Ubuntu 24.04 LTS | mruby | No fix yet | — |
| Ubuntu 22.04 LTS | mruby | No fix yet | — |
| Ubuntu 20.04 LTS | mruby | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mruby | No fix yet | — |
| Ubuntu 16.04 LTS | mruby | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nghttp2 | No fix yet | — |
References
- VDB-391391 | mruby bigint.c udiv floating point comparison with incorrect operator vdb-entry technical-description
- VDB-391391 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2022-4996 | CVE Analysis and Report third-party-advisory
- Submit #877513 | mruby 3.1.0 Floating Point Exception third-party-advisory
- https://huntr.com/bounties/5a5092df-1699-4497-a8b2-38318bce0c4e exploit