MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, MariaDB insufficiently validated counts, offsets, lengths, and field boundaries in FRM metadata while opening binary FRM files. An attacker able to place a crafted FRM file in the data directory could trigger out-of-bounds reads or writes, crash the server, or potentially execute code. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
The product receives input that is expected to specify an index, position, or offset into an indexable resource such as a buffer or file, but it does not validate or incorrectly validates that the specified index/position/offset has the required properties.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Mariadb | Mariadb | 10.6.1 (including) | 10.6.28 (excluding) |
| Mariadb | Mariadb | 10.11.1 (including) | 10.11.19 (excluding) |
| Mariadb | Mariadb | 11.4.1 (including) | 11.4.13 (excluding) |
| Mariadb | Mariadb | 11.8.1 (including) | 11.8.9 (excluding) |
| Mariadb | Mariadb | 12.3.1 (including) | 12.3.3 (excluding) |
| Mariadb | Mariadb | 13.0.1 (including) | 13.0.2 (excluding) |
| Red Hat Hardened Images | RedHat | mariadb10-11-main-10.11.18-4.1.hum1 | * |
| Red Hat Hardened Images | RedHat | mariadb11-8-main-11.8.9-0.1.hum1 | * |
| Mariadb-10.3 | Ubuntu | esm-apps/focal | * |
Often, indexable resources such as memory buffers or files can be accessed using a specific position, index, or offset, such as an index for an array or a position for a file. When untrusted input is not properly validated before it is used as an index, attackers could access (or attempt to access) unauthorized portions of these resources. This could be used to cause buffer overflows, excessive resource allocation, or trigger unexpected failures.