Buffer Overflow Affecting MariaDB/server package, versions [,10.2.42)[10.3.0, 10.3.33)[10.4.0, 10.4.23)[10.5.0, 10.5.14)[10.6.0, 10.6.6)[10.7.0, 10.7.2)[10.8.0, 10.8.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MARIADBSERVER-3007941
  • published22 Feb 2022
  • disclosed22 Feb 2022
  • creditUnknown

Introduced: 22 Feb 2022

CVE-2022-24048  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade MariaDB/server to version 10.2.42, 10.3.33, 10.4.23, 10.5.14, 10.6.6, 10.7.2, 10.8.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow via the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account.

CVSS Scores

version 3.1