Command Injection in MariaDB - CVE-2021-27928

 

Command Injection in MariaDB - CVE-2021-27928

Published: March 23, 2021 / Updated: December 15, 2022


Vulnerability identifier: #VU51645
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2021-27928
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: MariaDB Foundation
Affected software:
MariaDB

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The vulnerability exists due to improper input validation in the "wsrep_provider" and "wsrep_notify_cmd" parameters. A remote attacker can pass specially crafted data to the application and execute arbitrary commands on the target system.


How to mitigate CVE-2021-27928

Install updates from vendor's website.

Sources