Remote Code Execution (RCE) Affecting MariaDB/server package, versions [,10.1.48)[10.2.0,10.2.35)[10.3.0,10.3.26)[10.4.0,10.4.16)[10.5.0,10.5.7)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (15th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MARIADBSERVER-3008005
  • published26 Jan 2022
  • disclosed24 Dec 2020
  • creditUnknown

Introduced: 24 Dec 2020

CVE-2020-28912  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade MariaDB/server to version 10.1.48, 10.2.35, 10.3.26, 10.4.16, 10.5.7 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). With MariaDB running on Windows, when local clients connect to the server over named pipes, it's possible for an unprivileged user with an ability to run code on the server machine to intercept the named pipe connection and act as a man-in-the-middle, gaining access to all the data passed between the client and the server, and getting the ability to run SQL commands on behalf of the connected user. This occurs because of an incorrect security descriptor. This affects MariaDB Server before 10.1.48, 10.2.x before 10.2.35, 10.3.x before 10.3.26, 10.4.x before 10.4.16, and 10.5.x before 10.5.7. NOTE: this issue exists because certain details of the MariaDB CVE-2019-2503 fix did not comprehensively address attack variants against MariaDB. This situation is specific to MariaDB, and thus CVE-2020-28912 does NOT apply to other vendors that were originally affected by CVE-2019-2503.

References

CVSS Scores

version 3.1